scalatest / scalatestplus-junit

ScalaTest + JUnit provides integration support between ScalaTest and JUnit.
Apache License 2.0
7 stars 10 forks source link

Test exclusion based on tags does not work #32

Open SheliakLyr opened 5 months ago

SheliakLyr commented 5 months ago

Given test with a tag:

test("test", RequiresTestContainers) {
   // test case 
  }

And the following configuration in build.gradle:

useJUnitPlatform {
    includeEngines 'scalatest'
    testLogging {
        events "skipped", "failed"
    }
    excludeTags 'RequiresTestContainers'    
}

I expect the task to not be run. This works with testRuntimeOnly "co.helmethair:scalatest-junit-runner:0.2.0" but not for this integration.