📣
testballoon TestBalloon 0.8.0-Beta1 is finally here for you to explore (Kotlin 2.3.0 only for now). Big shout-out to
@mbonnin who made this possible.
What’s in it for you?
•
Test-level fixtures: Write multiple tests requiring the same fresh state with less code. You no longer need a custom test function or a custom state class. For a comparison with previous TestBalloon versions, see the
upgrade docs for an example.
• Considerable effort went into improving Android integration, which now supports multiple JUnit 4 rules in host-side (unit) and device-side (instrumented) tests.
• You have JUnit 4/5/6 tests (JVM and Android)? Migrating those tests is now easier than ever, as a
new documentation section dedicated to this topic explains.
• Coming from Kotest, and missing
InstancePerLeaf
isolation mode? Look
here for information on how TestBalloon covers this case.
•
kotlin.test
now also has
its own migration docs.
• The API surface is now more compact, as the new
API reference shows.
I’d be more than happy
kodee happy if you could check it out and provide feedback!
What do you think? Is everything as easy as it can get? Is your favorite platform supported optimally? Are the docs helpful and complete? Are you missing anything? (I know, Roboelectric would be useful and the IDE plugin gaps need to close, but what else?)