Thank you for your interest in contributing to qastudio-pytest!
-
Clone the repository:
git clone https://github.com/QAStudio-Dev/playwright-reporter-python.git cd playwright-reporter-python -
Create a virtual environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install in development mode:
pip install -e .[dev]
# Run all tests
pytest tests/
# Run with coverage
pytest tests/ --cov=qastudio_pytest --cov-report=term-missing
# Run specific test file
pytest tests/test_utils.py -vWe use Black for code formatting:
# Format code
black src/ tests/
# Check formatting without changes
black --check src/ tests/We use flake8 for linting:
flake8 src/ tests/We use mypy for static type checking:
mypy src/-
Create a new branch for your changes:
git checkout -b feature/your-feature-name
-
Make your changes and add tests
-
Run the test suite to ensure everything passes
-
Commit your changes:
git add . git commit -m "feat: add new feature"
-
Push to your fork and create a pull request
We follow conventional commits:
feat:- New featurefix:- Bug fixdocs:- Documentation changestest:- Adding or updating testsrefactor:- Code refactoringchore:- Maintenance tasks
- Update the README.md with details of changes if applicable
- Ensure all tests pass and code is properly formatted
- Update the CHANGELOG.md if applicable
- Automatic CodeRabbit reviews run for PRs targeting
mainordevelop, as configured in.coderabbit.yaml. Draft PRs and titles containingWIPorDO NOT MERGEare skipped. Use@coderabbitai summaryin the PR description to fill in the high-level summary placeholder. - The PR will be merged once you have the sign-off of a maintainer
Feel free to open an issue for any questions or concerns!