摘要:
As a general rule, when creating unit test, you shouldNOT have the test code communicate directly across the network, to the database, the file system, etc. This is a good thing since it will allow the unit test to be fast and remove the headache of doing test data management, etc. For more details 阅读全文