This module provides the core functionality for running PyTest tests within Jupyter Notebook environments.
It includes the do function can be used to pytest testcases.
Overview
The core module enables:
- PyTest Session Management: Create and manage PyTest sessions in Jupyter
- Test Function Collection: Collect and organize test functions from notebook cells
- Test Execution: Run individual tests with proper setup and teardown
- Result Reporting: Display formatted test results with pass/fail status
Key Features
- Direct PyTest integration without external files
- Support for pytest fixtures and test parametrization
- Clean test result formatting
- Error handling and traceback display