QA Fundamentals · Senior · Question 28 of 76

What is a characterization test?

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.

Further reading

Problem with a question

QA Fundamentals · Senior · question 28

Test yourself

Take the QA Fundamentals · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz