• Software Testing Dictionary
  • Home

Code Driven Testing

What is Code Driven Testing?

The Code driven testing also known as test driven development's first step is to add a test, which is enough for code to fail. Next, we execute out tests usually a complete test suite or a subset of tests to accelerate testing to ensure that the new test fails. Then, the code is updated to make it pass the new tests. Then, the fourth step is to execute the tests again. If they fail, we need to update the code and retest. Once the test passes, the next step is to go through the same process again for the next development item.

The Code driven testing WorkFlow:

Code Driven Testing