All Entries Tagged With: "tdd"
Advantages of using unit-test frameworks.
Unit-testing frameworks are code libraries and modules that help developers unit-test their code.
The unit testing framework provides a class library that holds base classes or interfaces to inherit. It also has attributes to place in your code to annotate your tests to run and assert classes that have special assert methods you invoke to verify [...]
Technique of test-driven development
Test-driven development begins by writing a test that fails; then you move on to creating the production code, seeing the test pass, and continuing on to either refactor your code or to create another failing test.
Steps:
Write a failing test to prove code or functionality is missing from the end product.
Make the test pass by writing [...]