In TDD, what is the primary purpose of the refactoring step after a test passes?
-
A
To add new functionality to the codebase
-
B
To improve code structure without changing behavior
-
C
To write additional test cases for edge cases
-
D
To remove passing tests that are no longer needed