john-bodley opened a new pull request #9097: [tox] Allowing running of specific tests URL: https://github.com/apache/incubator-superset/pull/9097 ### CATEGORY Choose one - [ ] Bug Fix - [ ] Enhancement (new features, refinement) - [ ] Refactor - [ ] Add tests - [x] Build / Development Environment - [ ] Documentation ### SUMMARY This PR allows for running of specific tests in `tox` rather than running the entire suite of tests to help improve the development experience, i.e., ```bash tox -e py36-mysql tests/sqllab_tests.py ``` `tox` provides a mechanism for default positional arguments (per [here](https://tox.readthedocs.io/en/latest/example/general.html#interactively-passing-positional-arguments)) and thus these are equivalent (the first being the default): ```bash tox -e py36-mysql tox -e py36-mysql tests ``` ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF <!--- Skip this if not applicable --> ### TEST PLAN <!--- What steps should be taken to verify the changes --> ### ADDITIONAL INFORMATION <!--- Check any relevant boxes with "x" --> <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue --> - [ ] Has associated issue: - [ ] Changes UI - [ ] Requires DB Migration. - [ ] Confirm DB Migration upgrade and downgrade tested. - [ ] Introduces new feature or API - [ ] Removes existing feature or API ### REVIEWERS to: @etr2460 @mistercrunch @villebro
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
