Windows PyTest Environment Setup

Заказчик: AI | Опубликовано: 03.12.2025
Бюджет: 30 $

The task is to assemble a clean, reproducible Python testing environment on a Windows machine, centred on the PyTest framework. First, spin up an isolated virtual environment (venv or Conda) and install PyTest together with any plugins that aid parametrisation, rich assertions, and coverage tracking. Capture exact package versions in a requirements.txt or Pipfile. Next, add the supporting configuration—pytest.ini for discovery rules and options, plus .coveragerc so test coverage reports generate automatically. A concise README or PowerShell/batch script must rebuild the whole setup, start to finish, on another Windows 10/11 workstation with one command. I’ll consider the job complete when the following acceptance criteria are met: • From the project root, running “pytest” executes all tests without errors. • An HTML coverage report is produced in a dedicated folder. • Every step is documented and repeatable on a clean Windows installation. Optional but welcome: a lightweight CI hook (GitHub Actions or similar) that runs the same command on every push.