Closed mirekdlugosz closed 4 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 78.33%. Comparing base (
4a03602
) to head (200630b
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Using data from Jenkins, add
slow
marker to all tests that on average take at least 30 seconds to complete. There are 11 tests like that. If we put threshold at 15 seconds, there would be 18 tests marked.It's important to remember that data is obtained from complete test suite runs, and so it differs from times we would obtain when running tests individually. Good example is
camayoc/tests/qpc/api/v1/reports/test_reports.py
- only first two tests gets marked, because all subsequent tests would use results cached inscans
fixture, and finish much faster. But if you were to runcamayoc/tests/qpc/api/v1/reports/test_reports.py::test_installed_products_deployment_report
individually, it would likely take long time to finish, as it would have to wait for scan to complete.Another approach we might take is just adding
slow
marker automatically to tests that usescans
fixture, leaving explicit mark to few tests that are slow due to other reasons.