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
Iptest refactoring #4180
Iptest refactoring #4180
Conversation
|
I presume |
Cool, I am excited to have a look at this. @ivanov have you talked to @takluyver about how we are going to build the JS/casper/phantom tests into this architecture. It is almost like we need a more general abstraction of a test seciton - one that is not run by nose. |
It would be good to look at what the needed abstractions are for that. Do you think you could look into that and post back on this PR? |
|
I've refactored it so there's a |
There's a problem with a debugger doctest printing different output when |
Found and worked around the doctest issue, details in commit message. |
i've got a bunch of feedback here, just working on it locally today for now. Once I have all my ducks lined up in a row and figure out what modifications make sense, I'll make a PR against this branch |
It's now also possible to run more than one section together, e.g. I should also have mentioned before, this allows |
Depending on whether or not __main__ is set to a real module, there may or may not be a 'File: ' line in the pinfo output. This differs according to whether tests were run directly or via a subprocess using 'python -c', so we use the doctest ellipsis to ignore the difference.
sweet, thanks for accommodating the changes from the peanut (butter pretzel puffs) gallery. looks great now, being able to run multiple test groups in parallel will also come in handy. merging. |
Iptest refactoring
This refactors iptest to bring it a bit more up to date. There's probably more work that can be done, but I think this is a good point to do a first PR on it.
The main changes:
if '--with-xunit' in argv:
. This makes it easier to add more options later, and also gives us simple ways to get combined coverage reports (and we should later be able to get coverage from subprocesses, but that's a question for another PR).ExclusionsPlugin
) rather than being an exciting side-effect of our ipdoctest plugin.