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

Make it possible to run subset of tests #1700

Open
mkschleg opened this issue Aug 25, 2021 · 4 comments
Open

Make it possible to run subset of tests #1700

mkschleg opened this issue Aug 25, 2021 · 4 comments
Labels

Comments

@mkschleg
Copy link
Contributor

Right now when running tests you have to run the entire suite, which takes a few minutes. Might be convenient for development if we adopt the use of test_args to allow for running specific tests (see JuliaLang/Pkg.jl#1226).

@mcabbott
Copy link
Member

I stole your idea to make JuliaDiff/ChainRules.jl#511. But would be good to do here, too.

@ToucheSir
Copy link
Member

Also for consideration is something more batteries included like https://github.com/JuliaTesting/ReTest.jl.

@mkschleg
Copy link
Contributor Author

It might be interesting to go w/ a fuller featured tester for Flux, but I'm a bit apprehensive that it is not v1.0. Once it becomes stable moving to it might be good, but for now @mcabbott's include_test seems like a good option (and a relatively minimal change).

@mkschleg
Copy link
Contributor Author

mkschleg commented Oct 9, 2021

I took a light pass over this. I think to support this the way @mcabbott wrote it we would have to have all our import/using statements in the runtests.jl file. This would require a larger refactor of the tests than I had anticipated. There might be some other macro/expression magic to make it work, but that is currently beyond my skill.

@mkschleg mkschleg mentioned this issue Feb 14, 2022
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants