Skip to content

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented Apr 7, 2023

When Pytest run tests it provides a summary of the tests. We are running a lot of the tests so we are really interested only in cases that are "interesting". So far we were not showing "skipped" tests in the summary, because there were cases where a lot of tests were skipped (mostly when integration tests were run - we collected tests from "tests" folder and run only those tests that were not skipped by @integration mark.

This however changed in #28170 as we moved all integration tests to "integration" subfolder and now instead of large number of skipped tests we run them selectively for each integration.

This should help in verifying that the skipped tests were skipped for a good reason (and that we actually see which tests have been skipped).


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

When Pytest run tests it provides a summary of the tests. We are
running a lot of the tests so we are really interested only in cases
that are "interesting". So far we were not showing "skipped" tests
in the summary, because there were cases where a lot of tests
were skipped (mostly when integration tests were run - we collected
tests from "tests" folder and run only those tests that were not
skipped by @integration mark.

This however changed in apache#28170 as we moved all integration
tests to "integration" subfolder and now instead of large number of
skipped tests we run them selectively for each integration.

This should help in verifying that the skipped tests were skipped
for a good reason (and that we actually see which tests have been
skipped).
@potiuk
Copy link
Member Author

potiuk commented Apr 7, 2023

Another follow-up after #30510 and #30509 -> this one will allow us to actually see which tests have been skipped in a given test run.

@potiuk potiuk merged commit 0b83f06 into apache:main Apr 7, 2023
@potiuk potiuk deleted the add-summary-of-skipped-cases-for-unit-tests branch April 7, 2023 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants