Run all tests and iterate to fix failures
Run the complete test suite and fix any failing tests.
Discover test configuration:
pytest.ini, pyproject.toml, or setup.cfg for test configurationpackage.json for JavaScript/TypeScript teststests/, test/, *_test.py, test_*.pyRun Python tests:
pytest -v --tb=short
If pytest is not available, try:
python -m pytest -v --tb=short
Run JavaScript/TypeScript tests (if applicable):
npm test
or
yarn test
For each failing test:
pytest path/to/test_file.py::test_name -v
Iterate until all tests pass:
Final verification:
pytest -v
Report: