JUnit Team 💙💛
@junit.org
440 followers 5 following 29 posts
Shaping the future of testing on the JVM
Posts Media Videos Starter Packs
Pinned
junit.org
#JUnit 6.0.0 is released!

✨ Java 17 and Kotlin 2.2 baseline
🌄 JSpecify nullability annotations
🛫 Integrated JFR support
🚟 Kotlin suspend function support
🛑 Support for cancelling test execution
⏭️ New `--fail-fast` mode for ConsoleLauncher
🧹 Removal of deprecated APIs

docs.junit.org/6.0.0/releas...
JUnit Release Notes
docs.junit.org
Reposted by JUnit Team 💙💛
scordio.github.io
📢 Jimfs JUnit Jupiter 1.0.0 is also released!

✨ Java 17 baseline
⬆️ Upgrade to JUnit 6
📖 Brand new user guide

🧑‍💻 Any feedback is welcome!

github.com/scordio/jimf...
junit.org
#JUnit 6.0.0 is released!

✨ Java 17 and Kotlin 2.2 baseline
🌄 JSpecify nullability annotations
🛫 Integrated JFR support
🚟 Kotlin suspend function support
🛑 Support for cancelling test execution
⏭️ New `--fail-fast` mode for ConsoleLauncher
🧹 Removal of deprecated APIs

docs.junit.org/6.0.0/releas...
JUnit Release Notes
docs.junit.org
junit.org
#JUnit 5.14.0 is released!

🐞 Bug fixes and enhancements since 5.13.x
✈ Deprecations along with new APIs to ease migration to JUnit 6

docs.junit.org/5.14.0/relea...
JUnit 5 Release Notes
docs.junit.org
junit.org
#JUnit 5.14.0-RC1 is ready for testing!

🐞 Bug fixes and enhancements since 5.13.x
✈ Deprecations along with new APIs to ease migration to the upcoming 6.0 release

docs.junit.org/5.14.0-RC1/r...
JUnit 5 Release Notes
docs.junit.org
junit.org
A big thank you to our new BRONZE SPONSOR,
LambdaTest! #supportJUnit
LambdaTest
Reposted by JUnit Team 💙💛
sambrannen.com
Please give #JUnit 6.0 RC3 a try and provide us feedback if you run into any issues!

This is really, truly, hopefully the last RC before 6.0 GA. 😇
junit.org
#JUnit 6.0.0-RC3 is ready for testing!

📰 Everything in 6.0.0-M1, M2, RC1, and RC2
⚠ Replacements for problematic APIs along with deprecations
🐞 Minor enhancements and bug fixes since 6.0.0-RC2

docs.junit.org/6.0.0-RC3/re...
JUnit Release Notes
docs.junit.org
junit.org
#JUnit 6.0.0-RC3 is ready for testing!

📰 Everything in 6.0.0-M1, M2, RC1, and RC2
⚠ Replacements for problematic APIs along with deprecations
🐞 Minor enhancements and bug fixes since 6.0.0-RC2

docs.junit.org/6.0.0-RC3/re...
JUnit Release Notes
docs.junit.org
junit.org
#JUnit 6.0.0-RC2 is ready for testing!

📰 Everything in 6.0.0-M1, 6.0.0-M2, and 6.0.0-RC1
🐞 Minor enhancements and bug fixes since 6.0.0-RC1

junit.org/junit5/docs/...
JUnit Release Notes
junit.org
Reposted by JUnit Team 💙💛
marcphilipp.de
✨ New blog post: "STF Milestone 6: Improved Kotlin support"

#JUnit 6.0.0-RC1 improves JUnit's #Kotlin story by adding support for suspending functions, sequences, contracts and nullness annotations.

👉 marcphilipp.de/blog/2025/08...

Thanks to the @sovereign.tech fund for their support!
object ImprovedKotlinSupportTests {

    val data = sequenceOf( // Sequence<T> support
        arguments(1, Month.JANUARY),
        arguments(12, Month.DECEMBER)
    )

    @ParameterizedTest
    @FieldSource("data")
    // suspending function support for coroutine testing
    suspend fun test(value: Int, month: Month?) {
        assertNotNull(month) // contracts to support...
        assertEquals(value, month.value) // smart casts!
    }
}
junit.org
#JUnit 6.0.0-RC1 is ready for testing!

📰 Everything in 6.0.0-M1 and 6.0.0-M2
🏷 Improved display names for parameterized classes/tests
♻ `MethodOrderer.Default` and `ClassOrderer.Default` for `@Nested` classes

junit.org/junit5/docs/...
JUnit Release Notes
junit.org
Reposted by JUnit Team 💙💛
intellijidea.com
What’s next for JUnit?
See @marcphilipp.de’s session from #IntelliJIDEAConf for updates on versions 5.12, 5.13, and the upcoming 6.0 preview 👉 youtu.be/-cY5BJaHz6E
Reposted by JUnit Team 💙💛
marcphilipp.de
✨ New blog post: "STF Milestone 5: Discovery issues"

Ever written a test that wasn't being executed? 😱

#JUnit 5.13 introduced a mechanism for reporting such issues found during test discovery.

👉 marcphilipp.de/blog/2025/08...

Thanks to the @sovereign.tech fund for their support!
@Test // Java
int test() {
    return 42;
} // Not executed!!! 😱😱😱
junit.org
It was an honor to participate in of one of the first iterations of the GitHub Secure Open Source Fund's program. It was great to have dedicated time to think about security and apply our lessons learned. Thank you to @github.com and all partners for making this possible! github.blog/open-source/...
Securing the supply chain at scale: Starting with 71 important open source projects
Learn how the GitHub Secure Open Source Fund helped 71 open source projects significantly improve their security posture.
github.blog
junit.org
#JUnit 6.0.0-M2 is ready for testing!

📰 Everything in 6.0.0-M1
🛑 Support for cancelling test execution
⏭️ New `--fail-fast` mode for ConsoleLauncher
🦺 Null-safe `computeIfAbsent` methods for stores
🧐 Strict evaluation of enum-based configuration parameters

junit.org/junit5/docs/...
JUnit Release Notes
junit.org
junit.org
#JUnit 5.13.4 is released!

🐞 Bug fixes and minor improvements

junit.org/junit5/docs/...
JUnit 5 Release Notes
junit.org
junit.org
#JUnit 5.13.3 is released!

🐞 Bug fixes and minor improvements

junit.org/junit5/docs/...
JUnit 5 Release Notes
junit.org
Reposted by JUnit Team 💙💛
sambrannen.com
If you ever need to adapt a #JUnit3 TestSuite to run directly in #JUnit #Jupiter, it's actually possible with dynamic tests! 😎

Here's how I run the @⁠Inject TCK in the @SpringFramework.

github.com/spring-proje...

Kudos to @marcphilipp.de for suggesting the dynamic test idea.
github.com
junit.org
#JUnit 6.0.0-M1 is ready for testing!

✨ Require Java 17 and Kotlin 2.2
🌄 JSpecify nullability info
🚟 Kotlin suspend function support
🛫 Integrated custom JFR events
🚅 FastCSV-backed Csv{File}Source
🧹 Remove deprecated APIs and behaviors

junit.org/junit5/docs/...
JUnit Release Notes
junit.org
Reposted by JUnit Team 💙💛
sambrannen.com
#JUnit Logo Contest Update

Here are some of the top contenders.

Please let us know your thoughts.

And additional proposals are welcome!

github.com/junit-team/j...
Reposted by JUnit Team 💙💛
julientopcu.com
Très heureux de voir le retour de @jderancourt.bsky.social sur scène de l'équipe @junit.org, qui nous présente "Rendre ses tests concis et évolutifs grâce à JUnit 5 & cie" au @breizhcamp.org !
junit.org
#JUnit 5.13.2 is released!

⚠️ Fix discovery issue detection for inner classes and abstract methods
🐞 Bug fixes and minor improvements

junit.org/junit5/docs/...
JUnit 5 Release Notes
junit.org
Reposted by JUnit Team 💙💛
sambrannen.com
We really need a new #JUnit logo! 🤣

Proposals are welcome!

github.com/junit-team/j...
Reposted by JUnit Team 💙💛
marcphilipp.de
✨ New blog post: "STF Milestone 4: Parameterized test classes"

JUnit 5.13 introduced parameterized test classes (in addition to methods). They are a powerful testing tool that has long been missing from JUnit Jupiter...

👉 marcphilipp.de/blog/2025/06...
@ParameterizedClass
@ValueSource(strings = {"foo", "bar"})
class SomeTests {
    @Parameter String value;
    
    @Test
    void shouldNotBeNull() {
        assertNotNull(value);
    }
    @Test
    void lengthShouldBeThree() {
        assertEquals(3, value.length());
    }
}
junit.org
#JUnit 5.13.1 is released!

🐞 Fix regressions introduced in 5.13.0

junit.org/junit5/docs/...
JUnit 5 Release Notes
junit.org
Reposted by JUnit Team 💙💛
marcphilipp.de
The slides and code examples for my talk about #JUnit at #IntelliJIDEAConf are now available on marcphilipp.de/en/talks/
Talks • Marc Philipp
Personal website
marcphilipp.de