Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip builds also for disabled test classes #505

Merged
merged 4 commits into from
Aug 25, 2022

Conversation

jbliznak
Copy link
Contributor

Before this PR, when class is annotated with @SkipFor or @SinceVersion and these annotations result in test class being skipped, we also skip pre-building of configured builds for that class (introduced in #277).

This PR extends the check to also skip the build when test class is annotated with JUnit @Disabled annotation which further optimizes the execution.

Also some tests were added to verify the previous and enhanced behaviour.

@jbliznak jbliznak force-pushed the skip-builds-for-disabled-classes branch from 82b7a14 to b3cf8de Compare August 25, 2022 08:42
@mnovak1 mnovak1 merged commit 20d3afe into xtf-cz:master Aug 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants