schmonz.com is a Fediverse instance that uses the ActivityPub protocol. In other words, users at this host can communicate with people that use software like Mastodon, Pleroma, Friendica, etc. all around the world.

This server runs the snac software and there is no automatic sign-up process.

Search results for tag #junit

[?]JUnit Team πŸ’™πŸ’› Β»
@junit@fosstodon.org

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/6.0.0-RC

    [?]Marc Philipp Β»
    @marcphilipp@chaos.social

    ✨ New blog post: "STF Milestone 6: Improved Kotlin support"

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

    πŸ‘‰ marcphilipp.de/blog/2025/08/21

    Thanks to the @sovtechfund 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!
    }
}

    Alt...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 Team πŸ’™πŸ’› Β»
      @junit@fosstodon.org

      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/6.0.0-RC

        [?]Marc Philipp Β»
        @marcphilipp@chaos.social

        ✨ New blog post: "STF Milestone 5: Discovery issues"

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

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

        πŸ‘‰ marcphilipp.de/blog/2025/08/16

        Thanks to the @sovtechfund for their support!

        @Test // Java
int test() {
    return 42;
} // Not executed!!! 😱😱😱

        Alt...@Test // Java int test() { return 42; } // Not executed!!! 😱😱😱

          Marc Philipp boosted

          [?]JUnit Team πŸ’™πŸ’› Β»
          @junit@fosstodon.org

          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/6.0.0-M2

            [?]JUnit Team πŸ’™πŸ’› Β»
            @junit@fosstodon.org

            5.13.4 is released!

            🐞 Bug fixes and minor improvements

            junit.org/junit5/docs/5.13.4/r

              [?]JUnit Team πŸ’™πŸ’› Β»
              @junit@fosstodon.org

              5.13.3 is released!

              🐞 Bug fixes and minor improvements

              junit.org/junit5/docs/5.13.3/r

                Marc Philipp boosted

                [?]Sam Brannen Β»
                @sbrannen@mastodon.online

                If you ever need to adapt a TestSuite to run directly in , it's actually possible with dynamic tests! 😎

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

                github.com/spring-projects/spr

                Kudos to @marcphilipp for suggesting the dynamic test idea.

                  [?]JUnit Team πŸ’™πŸ’› Β»
                  @junit@fosstodon.org

                  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/6.0.0-M1

                    Marc Philipp boosted

                    [?]Sam Brannen Β»
                    @sbrannen@mastodon.online

                    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/junit-fr

                      [?]Michael Simons Β»
                      @rotnroll666@mastodon.social

                      So happy that @marcphilipp got accepted into the @JavaChampions program. Congratulations!

                      There are more people on the core team that did so much of incredible value to the ecosystem, they literally walking the talk.

                        [?]Sam Brannen Β»
                        @sbrannen@mastodon.online

                        ⚠️ It's official: the GitHub repository is gone!

                        Well, actually... it's only been renamed to -framework. 😎

                        Plus, everything should redirect fine. πŸ™ˆ

                        github.com/junit-team/junit-fr

                          [?]Sam Brannen Β»
                          @sbrannen@mastodon.online

                          We really need a new logo! 🀣

                          Proposals are welcome!

                          github.com/junit-team/junit5/i

                            Ted M. Young boosted

                            [?]Marc Philipp Β»
                            @marcphilipp@chaos.social

                            ✨ New blog post: "STF Milestone 4: Parameterized test classes"

                            5.13 introduced parameterized test classes (in addition to methods). They are a powerful testing tool that has long been missing from JUnit Jupiter. I’m super happy that I’ve finally had the chance to resolve this long-standing and highly-voted issue thanks to the @sovtechfund.

                            πŸ‘‰ marcphilipp.de/blog/2025/06/07

                            @ParameterizedClass
@ValueSource(strings = {"foo", "bar"})
class SomeTests {
    @Parameter String value;
    
    @Test
    void shouldNotBeNull() {
        assertNotNull(value);
    }
    @Test
    void lengthShouldBeThree() {
        assertEquals(3, value.length());
    }
}

                            Alt...@ParameterizedClass @ValueSource(strings = {"foo", "bar"}) class SomeTests { @Parameter String value; @Test void shouldNotBeNull() { assertNotNull(value); } @Test void lengthShouldBeThree() { assertEquals(3, value.length()); } }

                              Thomas Much boosted

                              [?]JUnit Team πŸ’™πŸ’› Β»
                              @junit@fosstodon.org

                              5.13.1 is released!

                              🐞 Fix regressions introduced in 5.13.0

                              junit.org/junit5/docs/5.13.1/r

                                [?]Marc Philipp Β»
                                @marcphilipp@chaos.social

                                The slides and code examples for my talk about at are now available on marcphilipp.de/en/talks/

                                  Ted M. Young boosted

                                  [?]JUnit Team πŸ’™πŸ’› Β»
                                  @junit@fosstodon.org

                                  5.13.0 is released!

                                  πŸͺ„ ClassTemplate and ParameterizedClass support
                                  ⚠️ Discovery issue reporting for test engines
                                  ♻️ Resource management for launcher sessions and execution requests
                                  πŸ” Test discovery support in EngineTestKit
                                  πŸ‘Ύ ConsoleLauncher improvements

                                  junit.org/junit5/docs/5.13.0/r

                                    [?]Sam Brannen Β»
                                    @sbrannen@mastodon.online

                                    Zero open issues for 5.13 GA!

                                    Something may be brewing... β˜•οΈ

                                    github.com/junit-team/junit5/m

                                      [?]JUnit Team πŸ’™πŸ’› Β»
                                      @junit@fosstodon.org

                                      The team is looking for ideas and proposals for a new logo for the upcoming JUnit 6.0 release!

                                      Please see github.com/junit-team/junit5/i for ground rules.

                                      We are looking forward to your comments and submissions!

                                        [?]Michael Simons Β»
                                        @rotnroll666@mastodon.social

                                        So, do you still think that 5 is "the new" thing?

                                        It quite isn't.

                                        The crowdfunding campaign for JUnit Lambda was ten years ago this year.

                                        When @sormuras and I realised that last week at that made me feel old.

                                        JUnit still rocks, though. Great framework.

                                          [?]JUnit Team πŸ’™πŸ’› Β»
                                          @junit@fosstodon.org

                                          5.13.0-RC1 is ready for testing!

                                          πŸͺ„ ClassTemplate and ParameterizedClass support
                                          ⚠️ Discovery issue reporting for test engines
                                          ♻️ Resource management for launcher sessions and execution requests
                                          πŸ” Test discovery support in EngineTestKit
                                          🐞 Bug fixes and minor improvements

                                          junit.org/junit5/docs/5.13.0-R

                                            [?]JUnit Team πŸ’™πŸ’› Β»
                                            @junit@fosstodon.org

                                            5.12.2 is released!

                                            🐞 Fix regression when using CleanupMode.ON_SUCCESS

                                            junit.org/junit5/docs/5.12.2/r

                                              2 ★ 1 ↺
                                              Ted M. Young boosted

                                              [?]Amitai Schleier Β»
                                              @schmonz@schmonz.com

                                              Do you know your way around the API? I'd love to add support for it in Greencently, my tiny extension. How you can help: https://github.com/schmonz/junit-greencently/issues/29

                                              (if you'd like to)

                                                [?]Marc Philipp Β»
                                                @marcphilipp@chaos.social

                                                ✨ New blog post: "STF Milestone 3: Release verification and automation"

                                                A major goal of the @sovtechfund is to help projects become more sustainable and decrease their truck factor. For , one activity in desperate need of improvement in this area was performing a release. Prior to this milestone, all JUnit releases of the past years had been performed from my local computer. It was high time to change that!

                                                marcphilipp.de/blog/2025/04/01

                                                screenshot of GitHub Actions workflow chart

                                                Alt...screenshot of GitHub Actions workflow chart