Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add helper script for test reduction #30033

Merged

Conversation

jbytheway
Copy link
Contributor

Summary

SUMMARY: Infrastructure "Add developer helper script for test case reduction"

Purpose of change

Running all the tests is slow, but running just one test is not always sufficient to reproduce a failure. Manually finding a good subset of tests to run is annoying.

Describe the solution

This is a helper script to automate the process of finding a minimal subset of tests which still fail. This is useful when debugging a test failure which involves interactions between tests.

Note it uses multidelta; you'll have to install that first (it's available via most Linux distributions' package managers).

Additional context

Written while I was working on #30031, but I've done the same process by hand several times before while figuring out other bugs.

This is a helper script to automate the process of finding a minimal
subset of tests which still fail.  This is useful when debugging a test
failure which involves interactions between tests.
@ifreund ifreund added Code: Tests Measurement, self-control, statistics, balancing. Quality of Life QoL: degree to which players are comfortable, and able to enjoy CDDA labels Apr 28, 2019
@kevingranade kevingranade merged commit d2817f3 into CleverRaven:master Apr 28, 2019
@jbytheway jbytheway deleted the test_case_reduction_helper branch April 29, 2019 07:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code: Tests Measurement, self-control, statistics, balancing. Quality of Life QoL: degree to which players are comfortable, and able to enjoy CDDA
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants