Patent attributes
Techniques and solutions are described for automatically creating test code from production code. The production code can include one or more test code identifiers, such as of code checkpoints or modifiable code segments, for example, replaceable code segments or redirectable method calls. Using a user interface, such as a wizard, a user can view test code identifiers, select test code identifiers to activate, and optionally supply values, operators, or code to be used in the test code. The generated test code can include a test version of the production code that is separate from the production code. The generated test code can include test methods that include import parameters, export parameters and operators therefor, and other code to be used in tests to be performed using the test version of the production code.