What quality should unit have
Answers
Qualities of good unit tests
Key qualities of a good unit test
A basic unit test: does not depend on the environment; e.g. it will run on your computer and it will run on your colleague's computer. does not depend on other unit tests. does not depend on external data. ...
A good unit test: asserts the results of your code. tests a single unit of work (mostly a method) ...
A better unit test:
Key qualities of a good unit test
A basic unit test: does not depend on the environment; e.g. it will run on your computer and it will run on your colleague's computer. does not depend on other unit tests. does not depend on external data. ...
A good unit test: asserts the results of your code. tests a single unit of work (mostly a method) ...
A better unit test: