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

testsets argument to Pkg.test() #15404

Closed
rofinn opened this issue Mar 8, 2016 · 12 comments
Closed

testsets argument to Pkg.test() #15404

rofinn opened this issue Mar 8, 2016 · 12 comments
Labels
testsystem The unit testing framework and Test stdlib

Comments

@rofinn
Copy link
Contributor

rofinn commented Mar 8, 2016

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)

@tkelman
Copy link
Contributor

tkelman commented Mar 8, 2016

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.

@tkelman tkelman added the test This change adds or pertains to unit tests label Mar 8, 2016
@tkelman tkelman added testsystem The unit testing framework and Test stdlib and removed test This change adds or pertains to unit tests labels Jul 26, 2016
@davidanthoff
Copy link
Contributor

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

@kshyatt
Copy link
Contributor

kshyatt commented Aug 18, 2016

After #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!

@musm
Copy link
Contributor

musm commented Nov 17, 2016

@kkmann
Copy link

kkmann commented Feb 6, 2017

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

@PearGod
Copy link

PearGod commented Jan 2, 2019

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

@KristofferC
Copy link
Sponsor Member

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

@StefanKarpinski
Copy link
Sponsor Member

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

@fredrikekre
Copy link
Member

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

I have, works great, e.g. JuliaLang/Pkg.jl#949 (comment)

@KristofferC
Copy link
Sponsor Member

I never find the button.

@StefanKarpinski
Copy link
Sponsor Member

On the right with all the other things:

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

@KristofferC
Copy link
Sponsor Member

My GitHub dark scheme is hiding it!

screenshot 2019-01-03 at 20 28 21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testsystem The unit testing framework and Test stdlib
Projects
None yet
Development

No branches or pull requests

10 participants