#Junit

1 messages · Page 1 of 1 (latest)

crisp adder
#

which junit should I use?
there are like many different artifacts and when creating the project with intellij + gradle it automatically added:

    testImplementation(platform("org.junit:junit-bom:5.10.0"))
    testImplementation("org.junit.jupiter:junit-jupiter")

but then there is also junit jupiter api and on mvnrepository it says

This artifact was moved to:
org.junit.jupiter » junit-jupiter-api

wicked flowerBOT
#

<@&987246554085740594> please have a look, thanks.

crisp adder
#

btw I want to add mockito as well

misty jasper
#

i can mock you for free

magic pilot
crisp adder
#

ah ok so seems like:

testImplementation(platform("org.junit:junit-bom:5.10.0"))

and the useJUnitPlayform() is enough

#

or its not peepo_think

#

ah ok this seems to be the test engine:

testImplementation("org.junit.jupiter:junit-jupiter")
#

thanks