Matching wits with test-driven dev

Report a typo

Match these Test-Driven Development (TDD) concepts with their descriptions.

Match the items from left and right columns
Red phase
Green phase
Refactor phase
Unit test
Test coverage
Write a failing test that defines the desired behavior of the code to be implemented
Improve and optimize the code without changing its behavior, ensuring tests still pass
What percentage of application code is tested
A small, focused test that checks if a specific part of the code works as expected
Implement the minimum amount of code required to make the previously failing test pass

Create a free account to access the full topic