Skip to content
Discussion options

You must be logged in to vote

So!!! I finally understood why this was failing.

The problem was that my unit tests were using JUnit 5 and gradle did not understood how to read them (weirdly enough Android Studio does that just fine)

I had to add this at the top level of my build.gradle file:

tasks.withType(Test) {
    useJUnitPlatform()
}

Replies: 3 comments 14 replies

Comment options

You must be logged in to vote
4 replies
@distante
Comment options

@imhoffd
Comment options

@distante
Comment options

@distante
Comment options

Comment options

You must be logged in to vote
10 replies
@hemangsk
Comment options

@distante
Comment options

@hemangsk
Comment options

@distante
Comment options

@distante
Comment options

Comment options

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