This works as you suggest – you just have to specify the class name as well:
python testMyCase.py MyCase.testItIsHot
More Related Contents:
- How do I run all Python unit tests in a directory?
- Python Mocking a function from an imported module
- How to test Python 3.4 asyncio code?
- Python: Write unittest for console print
- What is the difference between setUp() and setUpClass() in Python unittest?
- Python Unit Testing: Automatically Running the Debugger when a test fails
- Why doesn’t Python run my bash code?
- PATH issue with pytest ‘ImportError: No module named YadaYadaYada’
- Running unittest with typical test directory structure
- How to properly assert that an exception gets raised in pytest?
- Run / Debug a Django application’s UnitTests from the mouse right click context menu in PyCharm Community Edition?
- Can I patch a Python decorator before it wraps a function?
- Python unittest.TestCase execution order
- changing order of unit tests in Python
- Where do the Python unit tests go? [closed]
- How to test a function with input call?
- How to assert output with nosetest/unittest in python?
- Python unittest passing arguments
- Python mock multiple return values
- How can I write unit tests against code that uses matplotlib?
- How can I create a ramdisk in Python?
- Assert that a method was called in a Python unit test
- How can I disable logging while running unit tests in Python Django?
- Python unittest – opposite of assertRaises?
- Mock Python’s built in print function
- Unittest tests order
- Mocking Functions Using Python Mock
- Running a specific test case in Django when your app has a tests directory
- Unit testing a python app that uses the requests library
- How can I specify a database for Django Tests to use instead of having it build it every time?