admin管理员组文章数量:1415673
So I've heard of unit and integration testing, but I just recently heard of midway testing. It seems like the term is used most monly in an AngularJS context. A Google query turned up very little information on the topic. My questions about midway testing are these:
- How does it differ from unit and integration testing?
- What purpose does it serve?
- What problems does it address that the other two approaches do not address?
- Is it an AngularJS specific concept?
So I've heard of unit and integration testing, but I just recently heard of midway testing. It seems like the term is used most monly in an AngularJS context. A Google query turned up very little information on the topic. My questions about midway testing are these:
- How does it differ from unit and integration testing?
- What purpose does it serve?
- What problems does it address that the other two approaches do not address?
- Is it an AngularJS specific concept?
- 3 I started writing an answer but it ended up just being a whole bunch of information quoted from an article: yearofmoo./2013/01/… – user247702 Commented Jun 10, 2014 at 21:18
1 Answer
Reset to default 8From my own research, midway testing appears to be unit testing, but with some automation in there to avoid having to do mocking or stubs for things like XHR requests. They call it "midway" to imply it's midway between a full "end to end" test (e.g., user testing) and a unit test.
I've only seen this name used with AngularJS, though the concept could certainly be applied to any package or library where an automated layer was provided to help avoid having to do stubs and mocks.
More here: Midway Testing
本文标签: javascriptWhat is midway testingStack Overflow
版权声明:本文标题:javascript - What is midway testing? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745235617a2649023.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论