Please go to File| Settings | Tools | Python Integrated Tools and change the default test runner to py.test. Then you’ll get the py.test option to create tests instead of the unittest one.
More Related Contents:
- PyCharm noinspection for whole file?
- How to link PyCharm with PySpark?
- Python 3.7 anaconda environment – import _ssl DLL load fail error
- PyCharm current working directory
- Src layout to dispense .src prefix in imports? Activate venv in PyCharm terminal for development installs
- How to simulate Jumping in Pygame for this particular code
- Using pytest with a src layer
- How can I tell PyCharm what type a parameter is expected to be?
- PyCharm import external library
- Can you annotate return type when value is instance of cls?
- How to skip the rest of tests in the class if one has failed?
- Why does PyCharm warn about mutable default arguments? How can I work around them?
- PyCharm: Unresolved reference with Scapy
- “UserWarning: Matplotlib is currently using agg, which is a non-GUI backend, so cannot show the figure.” when plotting figure with pyplot on Pycharm
- Logging within pytest tests
- pytest cannot import module while python can
- How do I correctly setup and teardown for my pytest class with tests?
- Interacting with program after execution
- Using (Ana)conda within PyCharm
- How to set working directory for projects in PyCharm?
- VSCode pytest test discovery fails
- PyCharm: ImportError no module named X?
- How to surround selected text in PyCharm like with Sublime Text
- How can I limit the maximum running time for a unit test?
- PyCharm hangs on ‘scanning files to index’ background task
- How to type hint a dictionary with values of different types
- Configuring PyCharm with existing virtualenv
- What is the type hint for a (any) python module?
- How to mock a readonly property with mock?
- Pycharm: run only part of my Python file