How to run a single test? It would make development and debugging much faster
See original GitHub issueI’ve searched repeatedly, read tox
docs but I can’t work this out. It would make development and debugging tests much easier 🙂
I think it’s possible like this some how:
tox -e py38 -- test_stop_users_with_hatch_rate
tox -e py38 -- locust.test.test_runners::TestMasterRunner::test_stop_users_with_hatch_rate
tox -e py38 -- locust.test.test_runners.TestMasterRunner
tox -e py38 test/test_runners.py::TestMasterRunner::test_stop_users_with_hatch_rate
Any idea?
Environment
- OS: MacOS
- Python version: 3.8
- Locust version:
master
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Faster way to run, debug and view results of Jest tests
Use Jest as your testing framework for your tests, use Jest CLI to run tests as a part of your Continuous Integration (CI)...
Read more >9 Ways To Make Slow Tests Faster - Semaphore CI
At Semaphore, we've seen our fair share of tests and have identified 9 ways to make your slow tests faster.
Read more >Debugging and Testing
Testing can be done at all stages of module development: requirements ... Debugging is a cyclic activity involving execution testing and code correction....
Read more >Run unit tests with Test Explorer - Visual Studio (Windows)
Tests can be run from Test Explorer by right-clicking in the code editor on a test and selecting Run test or by using...
Read more >Cannot run or debug a single test - Visual Studio Feedback
After installing the latest VS update yesterday (8/5/2020), right-clicking and running or debugging a single unit test in Test Explorer runs every test...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Super nice, thanks @cyberw
OK thanks again @cyberw