I have a test suit for my app. As the test suit grew organically, the tests have a lot of repeated code which can be refactored.

However I would like to ensure that the test suite doesn't change with the refactor. How can test that my tests are invariant with the refactor.

(I am using Python+UnitTest), but I guess the answer to this can be language agnostic.

Edit
Report