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

confusing error output when giving invalid test file name #24628

Closed
StefanKarpinski opened this issue Nov 16, 2017 · 0 comments
Closed

confusing error output when giving invalid test file name #24628

StefanKarpinski opened this issue Nov 16, 2017 · 0 comments
Labels
help wanted Indicates that a maintainer wants help on an issue or pull request testsystem The unit testing framework and Test stdlib

Comments

@StefanKarpinski
Copy link
Sponsor Member

This has tripped me up several times recently. I ran something like julia test/runtests.jl string and got a confusing parade of errors instead a clear and immediate failure saying that string is not a valid test file. This is exacerbated by the fact that if you give multiple test file then those will run and the non-existent test file is reported a single test error under that name. I would propose that if you give a non-existent test file name runtests.jl should just bail immediately and run no tests.

@StefanKarpinski StefanKarpinski added help wanted Indicates that a maintainer wants help on an issue or pull request testsystem The unit testing framework and Test stdlib labels Nov 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Indicates that a maintainer wants help on an issue or pull request testsystem The unit testing framework and Test stdlib
Projects
None yet
Development

No branches or pull requests

1 participant