pytest-interactive
pytest-interactive copied to clipboard
Interactively select tests to run using IPython
# Issue ``` $ docker-compose -f docker-compose.yml up Recreating pctest1 ... done Attaching to pctest1 pctest1 | ============================= test session starts ============================== pctest1 | platform linux2 -- Python 2.7.17, pytest-3.3.2,...
As per https://github.com/pytest-dev/plugincompat/blob/master/OVERVIEW.md
Using the `IPython` `tt.test_blah.test_foo?` syntax for quickref-ing docs should give the documentation for all contained test nodes. Currently the `TestSet` docs are used which is not so useful. The whole...
Basing these off the pytest unit tests probably makes the most sense. Not sure how to test the magics stuff offhand. Might have to look at the IPython test set.
Allow tests and test nodes to be grouped through the + operator something like so ``` tests_set = tt.tests.some.tests + tt.some.other.tests ```
See an example algo here: http://blog.amjith.com/fuzzyfinder-in-10-lines-of-python
It would be handy if the embedded scope provided lazy access to all available upstream fixture values for introspection and debugging. Proper considerations should be made for disabling the `capturemanager`...
I think a syntax like `remove 0-4, 23-49` would be more appropriate for sub-test selection using magics. This would allow the user to specify multiple ranges in one command :)