Running Python code via pytest (conda/mamba)#
Warning
This page is about the conda / mamba package manager. Since 2025, we recommend using pixi instead, see the updated chapter
Learning Objectives#
After working through this topic, you should be able to:
Execute all tests in a project using pytest
Activate the correct environment for using pytest
Materials#
Download the slides.
See the pytest command line interface