Unit test is actually difficult to test the test strategy, for a software system on a hundred-line code, to complete all unit modules, for most companies in China, it is almost impossible. So, if you make a good, effective The test strategy is critical, and it is also a way to effectively perform unit test activities!
After a period of practice, the following principles have been summarized:
Do a key module
2. Do the underlying module
3. Make the most frequently used modules
The specific thing will no longer be expanded. If you have time to say, let's talk about the unit test experience. Sleep first ~~~~