QA Fundamentals · Senior · Question 28 of 76
What is a characterization test?
- 1A test that describes the personality of user groups
- 2A test that records current behaviour before changing legacy code
- 3A test that checks the character encoding of text fields
Show the answer
Correct answer: A test that records current behaviour before changing legacy code
Explanation
When nobody knows what the code should do, you capture what it does now. Refactoring is then safe, and intended changes are made deliberately.