Skip to content

Ignoring the debug/release distinction #250

Answered by io7m
io7m asked this question in Q&A
Discussion options

You must be logged in to vote

The most obvious solution (which I thought I tried first!) actually seems to handle this properly after all:

testOptions {
  junitPlatform {
    releaseFilters {
      excludePattern "**/**"
    }
  }
}

The build results in a testDebugUnitTest directory showing test executions, and no testReleaseUnitTest. 🎉

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by io7m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant