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 https://github.com/xtf-cz/xtf/pull/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.
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 https://github.com/xtf-cz/xtf/pull/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.