Run tests individually
Hello,
When contributing for a given data structure of DataStructures.jl you have to run locally the whole test sets (which is quite long for my old MacBook Air mid-2011).
It will be nice if tests could be run individually.
Obviously... it shouldn't prevent a contributor to run all tests (if he wants)...
Anyway, if a contributor run just one test_.... . jl, CI should be able to catch errors that are found with other test_... .jl
Kind regards
yes, this would be good.
The way this is done in a number of packages I maintain is
to make each test file able to run from the commandline (or via include in the REPL),
standalone,
by adding to the top
using DataStructures
using Test
We could do that via sed script (or manually) and see if anything breaks, when running any alone.
I'm closing because this is in fact possible
$ julia test/runtests.jl stack
run test_stack.jl
Woah
Maybe we should explain this in doc (see #360 ) Most Julia packages have paragraphs which explain how to install it / how to contribute / how to run unit tests... and so how to run a given test file.