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

[core] Mapping resources to trigger tests #191

Open
dcendents opened this issue Feb 25, 2016 · 1 comment
Open

[core] Mapping resources to trigger tests #191

dcendents opened this issue Feb 25, 2016 · 1 comment
Labels
comp:core core feature of infinitest (infinitest-lib + infinitest-runner)) type: feature

Comments

@dcendents
Copy link

Hi,

It would be useful if we could configure infinitest with a mapping of resources vs Test class(es) to run.

Currently in eclipse a Test will be run when the Java source file is modified or the corresponding Test class is modified. However if I modify a resource, nothing is triggered, I need to clean the project to trigger all tests to run.

I develop using a BDD framework (cola-tests) which means I can alter tests without touching a Java file. It would be very useful if I could instruct infinitest of which files to monitor for modifications and also which test classes to trigger when a file has been modified.

Thanks

@paul-hammant
Copy link

"Test Impact Analysis" is the field of computer science. I raised an issue with the Intellij people https://youtrack.jetbrains.com/issue/IDEA-174949

At a previous employer, I set this precise thing up for their 20 hours of Excel tests (invoking Python prod code). Different tech, but the idea is exactly the same.

@sarod sarod changed the title Mapping resources to trigger tests [core] Mapping resources to trigger tests May 15, 2018
@sarod sarod added comp:core core feature of infinitest (infinitest-lib + infinitest-runner)) and removed status:needs-proposal labels May 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:core core feature of infinitest (infinitest-lib + infinitest-runner)) type: feature
Projects
None yet
Development

No branches or pull requests

3 participants