When is a Test not a Unit-test?

后端 未结 8 1342
感情败类
感情败类 2020-11-30 19:48

I am looking for rules like:

A test is not a unit-test if:

  • it communicates with a database
  • it cannot run in parallel with other tests
8条回答
提交回复
热议问题