it:ad:defectfix:unit_testing:home

IT:AD:DefectFix/Unit Testing

Summary

Testing – by developers, during the IT:AD:Development stage – of code units (function, statement, decision, and or code condition) using – where required – Mock Services to test their logic without interference from infrastructure requirements.

It's easy to get seduced by tests and scripts as they are effort achieved.

But Tests are not the Goal. Quality is the goal.

In other words, while scripting away – remember to look at the actual product critically, rather than the scripts, critically.

The Best way to get Developers to write Tests is not call them Tests. They're just another Test Rig/AppHost.

### Test Driven Development (TDD) Developers use Test Harnesses such as IT:AD:MSTest, IT:AD:NUnit, etc. to adhere to Test Driven Development/ strategy of writting coded Unit tests first, that fail (as the code has not been written yet), writting code that to make the codes pass, and iterating by writting new tests that fail, writing code that make the tests pass, and continuing.

  • /home/skysigal/public_html/data/pages/it/ad/defectfix/unit_testing/home.txt
  • Last modified: 2023/11/04 03:40
  • by 127.0.0.1