Julia: testsets argument to Pkg.test()

Created on 8 Mar 2016  路  12Comments  路  Source: JuliaLang/julia

With the new testsets approach it would be nice if Pkg.test took an optional list of testset names to run.

Ex) Pkg.test(Foo, ["unit", "integration", "lint"]; coverage=true)

testsystem

Most helpful comment

Just want to second this issue, any ability to specify the testset to run would be fantastic.

All 12 comments

Pkg.test right now makes no assumptions about the contents of runtests.jl. This might be better as a separate test-runner function that would take a file name? Maybe Pkg.test could take a list of ARGS though, then the contents of runtests.jl could handle them however you like.

Just want to second this issue, any ability to specify the testset to run would be fantastic.

After https://github.com/JuliaLang/julia/pull/17165 is good to go we can add this in a new PR, I think. To that effect: if people can find more ways to break that PR/review it for bad things, it would be great!

Me too! This would be such a time-saver during development instead of just switching includes on and off by commenting ;)

Pinging this as it would be very valuable and we're coming up on two years with no activity on it.

Issue moved to JuliaLang/Pkg.jl #981 via ZenHub

I think GitHub can natively transfer issues now鈥攈ave you tried it? I'd be curious to see how it works.

have you tried it? I'd be curious to see how it works.

I have, works great, e.g. https://github.com/JuliaLang/Pkg.jl/issues/949#event-2005484864

I never find the button.

On the right with all the other things:

screen shot 2019-01-03 at 2 17 53 pm

My GitHub dark scheme is hiding it!

screenshot 2019-01-03 at 20 28 21

Was this page helpful?
0 / 5 - 0 ratings

Related issues

wilburtownsend picture wilburtownsend  路  3Comments

TotalVerb picture TotalVerb  路  3Comments

omus picture omus  路  3Comments

arshpreetsingh picture arshpreetsingh  路  3Comments

i-apellaniz picture i-apellaniz  路  3Comments