Regression testing¶
Regression testing is intended to ensure that, should the analysis process be modified, the results obtained to date remain valid. However, it may also happen that the results change even if the source code remains unchanged.
Recording sample input data and the expected reference results
Tests to verify whether the recorded input data leads to the expected reference results; these can be created, for example, using tdda gentest. Alternatively, the TDDA: Test-Driven Data Analysis library provides tools, most notably tdda diff, for writing your own tests.
Fully automated data analysis process
See also
python-basics:test/tdd