Skip to content

Test exclusion based on tags does not work #32

@SheliakLyr

Description

@SheliakLyr

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions