F.I.R.S.T Principles of Unit Testing

Monday, October 21, 2019 Labels: , ,

In simple words, F.I.R.S.T Principles of Unit Testing stand for:

Fast: Tests should run quickly.

Independent: Tests should be independent of each other.

Repeatable: Should be able to run in all environments.

Self-validating: Tests should have boolean output. Either they pass or fail.

Timely: Tests should be written in a timely fashion.

Usage of JUnit is encouraged as it incorporates the above-mentioned features.


Post a Comment

Waqas Sadiq © 2014