Files
yii2/docs/guide-zh-CN/test-acceptance.md
2018-03-21 18:51:44 +08:00

18 lines
902 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

验收测试
================
验收测试从用户角度验证场景。 测试的应用程序可以通过 PhpBrowser 或者
真正的浏览器。 在这两种情况下,浏览器都通过 HTTP 进行通信因此应用程序应通过Web服务器提供。
验证测试是在 Codeception 框架的帮助下实现的,该框架有一个很好的文档:
- [Codeception for Yii framework](http://codeception.com/for/yii)
- [Codeception Acceptance Tests](http://codeception.com/docs/03-AcceptanceTests)
## 运行基本和高级模板测试
如果您已经开始使用高级模板,请参阅 [“测试”指南](https://github.com/yiisoft/yii2-app-advanced/blob/master/docs/guide/start-testing.md)
有关运行测试的更多细节。
如果您已经开始使用基本模板,请查看其 [README“测试”部分](https://github.com/yiisoft/yii2-app-basic/blob/master/README.md#testing)。