Plugin that imports the required fixtures for checking SQL/YQL coverage.
See SQL coverage tests for more info.
Classes | |
| class | Coverage |
| Contains data about the current coverage of statements. More... | |
Functions | |
| on_uncovered () | |
| Called when the coverage is incomplete. | |
| Coverage | sql_coverage (sql_files) |
| Returns data about the current coverage of statements. | |
| sql_statement_hook (testpoint, sql_coverage) | |
| Hook that accepts requests from the testpoint with information on PostgreSQL statements coverage. | |
| yql_statement_hook (testpoint, sql_coverage) | |
| Hook that accepts requests from the testpoint with information on YDB statements coverage. | |
| pytest_collection_modifyitems (config, items) | |
Variables | |
| str | _SQL_COVERAGE_TEST_NAME = 'test_sql_coverage' |
| pytest_userver.plugins.sql_coverage.pytest_collection_modifyitems | ( | config, | |
| items ) |
Definition at line 106 of file sql_coverage.py.
|
protected |
Definition at line 14 of file sql_coverage.py.