Join Slack
Does the kotest annotation spec respect inner classes? I ended up using them in my test suite simila...
# kotest
j
Jim
10/26/2020, 6:23 PM
Does the kotest annotation spec respect inner classes? I ended up using them in my test suite similar to
context
in other kotest spec styles. 🤔
s
sam
10/26/2020, 6:29 PM
No it won't
j
Jim
10/26/2020, 6:29 PM
Good to know
Jim
10/26/2020, 6:29 PM
so it's gonna be an all or nothing port then eeeexcellent
s
sam
10/26/2020, 6:29 PM
you can use junit alongside kotest
sam
10/26/2020, 6:29 PM
so you can convert them as and when
j
Jim
10/26/2020, 6:30 PM
Oh wow!
./gradlew test
would just pick up both suites?
s
sam
10/26/2020, 6:30 PM
yes sir
sam
10/26/2020, 6:31 PM
as long as you have junit jupiter, and kotest on your classpath and setup in gradle as test engines (one liner)
j
Jim
10/26/2020, 6:31 PM
ok cool I'll give that a try
7
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by