This repository is a minimal, ready-to-run demonstration project for pytest.
It showcases an end-to-end workflow suitable for a live 10-minute demo (as required by the assignment).
- Assertions (including one intentionally failing test to demonstrate debugging)
- Fixtures (setup/teardown via
conftest.py) - Mocking external dependencies (
unittest.mock) - CI/CD integration with GitHub Actions that runs tests and uploads an HTML report
python -m venv .venv
source .venv/bin/activate # windows: .venv\Scripts\activate
pip install -r requirements.txt
pytest --html=report.html --self-contained-html
# then open report.html in your browserThe workflow at .github/workflows/ci.yml runs tests on push/PR to main and uploads results/report.html as an artifact.
📢 SEPQM Assignment – Live Demonstration Notice
Hi everyone,
Please note the Demonstration Requirements for our Testing Tool Assignment.
🔹 Each group must demonstrate the complete workflow of the selected testing tool, starting from initial setup to successful test execution.
🔹 Every group member must demonstrate at least one key feature of the tool. (So a group should cover 4 different features.)
Examples of features you can demonstrate: • Assertions • Fixtures or Setup/Teardown mechanisms • Mocking or Stubbing • Behaviour-Driven Development (BDD) syntax • Test Reporting • CI/CD usage (or any other important feature of the tool)
⏱ Time Limit: Maximum 10 minutes per group
Make sure to prepare your environment and code beforehand to avoid delays.
Thank you.