且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何写Asp.net MVC集成和系统测试

更新时间:2023-02-14 17:18:50

集成测试应该测试组件之间的融合。虽然单元测试测试单个组件的各个部分,集成测试组件之间的交互,以及是为了工作现场。因此,一个集成测试将利用数据库​​和任何其他外部依赖,在其***的单元测试嘲笑这些服务。

Integration tests should test the integration between components. While unit tests test individual pieces of a single component, integration tests the interactions between components, and are meant to work live. So an integration test would utilize a database and any other external dependencies, where its best to mock these services in unit testing.

系统测试对我来说将是功能测试(使用类似配合测试的另一个级别),或者UI测试通过像testcomplete或Telerik的质量保证工具的工具。

System test to me would be functional testing (another level of testing using something like fit), or ui testing through a tool like testcomplete or telerik's QA tool.

心连心。