About the test in development
Posted zjbfvfv
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了About the test in development相关的知识,希望对你有一定的参考价值。
Unit test: Specify and test one point of the contract of single method of a class. This should have a very narrow and well defined scope. Complex dependencies and interactions to the outside world are stubbed or mocked.
Integration test: Test the correct inter-operation of multiple subsystems. There is whole spectrum there, from testing integration between two classes, to testing integration with the production environment.
Smoke test: A simple integration test where we just check that when the system under test is invoked it returns normally and does not blow up. It is an analogy with electronics, where the first test occurs when powering up a circuit: if it smokes, it‘s bad.
Regression test: A test that was written when a bug was fixed. It ensure that this specific bug will not occur again. The full name is "non-regression test".
Acceptance test: Test that a feature or use case is correctly implemented. It is similar to an integration test, but with a focus on the use case to provide rather than on the components involved.
以上是关于About the test in development的主要内容,如果未能解决你的问题,请参考以下文章
Packed with amazing data about the world in 201
About the diffrence of wait timed_wait and block in java
Some features we need to keep in mind about the implementation of QuickSort algorithm
A log about Reading the memroy of Other Process in C++/WIN API--ReadProcessMemory()
Will vs Be Going To vs Present Continuous: Talk About the Future in English