-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
how to run tests from individual modules #44
Comments
could you test it again with master branch? |
Hi, Unfortunately I didn't get the desired effect. Running "julia test.jl" on JiveInclude.zip I get the following and I'd like that test2.jl would fail because it contain "using Dates". Also, the warning that appears may be confusing to many developers
What I've ended up doing (for Jive release) is wrapping `Main.include' so that each included file is imported into a different module.
To make it less hackish, it would be ideal if Jive.runtest could have an optional callback argument which would delegate the including process to the tested project. This would allow:
|
thanks for the attachment. do you expected like this?
|
Hi, On the other hand, this stills works, due to the cross-pollution of imports.
Looking at the last patch, what do you think about moving best |
thanks for the feedback. I've added
|
it works like a charm |
Hi,
as with SafeTestsets.jl, I was trying to run my tests with Jive from different modules to avoid collisions and ensure that the test are independent.
I tried wrapping the calls to Jive.runtests in independent modules, but it does not work because Jive loads the tests files
Main.include
instead of doinginclude
.Is there are way to ensure a better independence between tests? thanks
The text was updated successfully, but these errors were encountered: