如何使用内置的单元测试模块?

发布于 2024-10-09 14:58:35 字数 207 浏览 0 评论 0原文

Kohana 3.x 中似乎有一个内置的 单元测试模块

我该如何使用这个?我找不到任何关于这个模块的官方文档,甚至谷歌也没有提供好的文章。

我希望有好的链接或任何类型的 Hello, World! 单元测试示例!

There seems to be a built-in unit test module in Kohana 3.x.

How can I use this? I can't find any official documentation regarding this module and even Google doesn't provide good articles.

I would appreciate good links or any kind Hello, World! unit test example!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

归途 2024-10-16 14:58:35

通过取消注释来启用 bootstrap.php 中的模块,然后在浏览器中转到 /unittest/。其中包含几个示例测试。

Enable the module in your bootstrap.php by uncommenting it and go to /unittest/ in your browser. There are several example tests included.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文