#assertj
🧪 Deep Dive Monday at #Jfokus - Break Your Testing Habits with Tim te Beek & Rick Ossendrijver

Unlearn the old, master the new - JUnit 6, AssertJ 4 & modern testing practices.
Forge your path in the halls of code ⚡
👉 www.jfokus.se

#DeveloperConference #Java #Testing #JUnit #AssertJ #CleanCode
October 8, 2025 at 1:28 PM
btw, if you run a user group/meetup and want me to present any of my talks (on Testable Architecture, Event Sourcing, etc.) to your group (remotely or in person in the SF Bay Area), let me know!

See my Ted Talks page: ted.dev/talks

#Java #EventSourcing #JUnit #AssertJ
My Presentations | Ted M. Young
Articles, Videos, Training, and Coaching for Java Developers
ted.dev
October 6, 2025 at 11:01 PM
📢 AssertJ 3.27.6 has been released!

This fixes a 🐛 regression related to the module descriptor 🧩

Happy assertions!

github.com/assertj/asse...
Release v3.27.6 · assertj/assertj
🐛 Bug Fixes Core Add missing export for org.assertj.core.annotation #3951 ❤️ Contributors Thanks to all the contributors who worked on this release: @duponter
github.com
September 22, 2025 at 7:26 PM
📢 AssertJ 3.27.5 has been released!

This 🛠️ upgrades ByteBuddy to its latest version to ensure smooth compatibility with Java 25 ☕

Happy assertions!

github.com/assertj/asse...
Release v3.27.5 · assertj/assertj
⚡ Improvements Core ByteBuddy in AssertJ 3.27.4 not compatible with Java 25 #3946 🔨 Dependency Upgrades Core Upgrade to Byte Buddy 1.17.7 #3947 Upgrade to JUnit BOM 5.13.4 #3947 Guava Upgrade ...
github.com
September 19, 2025 at 6:56 AM
I'm having similar fun right now at @assertj.github.io.

`module-info.java` under `src/test/java` doesn't scale much so I'm trying an alternative strategy to avoid refactoring a few hundreds of test classes... let's see if that works out.

github.com/assertj/asse...
Add missing module descriptor to `assertj-guava`, adopt module-only build by scordio · Pull Request #3771 · assertj/assertj
Fixes Drop multi-release build in favor of module-only #3446
github.com
February 18, 2025 at 9:59 AM
📢 AssertJ 3.27.3 has been released!

This delivers a 💥 breaking change that reverts a feature from 3.27.0 incompatible with @kotlinlang.org 1.9.

Happy assertions!

github.com/assertj/asse...
Release v3.27.3 · assertj/assertj
💥 Breaking Changes Core Revert "Propagate common basetype for the extracting method" #3737 Details The enhancement introduced with #3673 breaks existing code on Kotlin 1.9; therefore, it has been...
github.com
January 18, 2025 at 11:32 AM
For AssertJ 4, we wanted to upgrade to Java 17. However, we are discussing whether to stay on 8 or upgrade to 11.

The main reason is to keep our effort reasonable and continue supporting users who cannot upgrade yet (e.g., RHEL 7 users under ELS).

Any strong reason to keep upgrading to Java 17?
December 23, 2024 at 9:10 AM
📢 AssertJ 3.25.2 is out!

A little round of bug squashing so your assertions can look nice and shiny ✨
Release v3.25.2 · assertj/assertj
🐛 Bug Fixes Fix unresolvable Javadoc stylesheet URLs, simplify configuration #3324 Core Fix missing configuration for MatcherAssert soft assertions Make deprecation notice visible in AbstractAss...
github.com
January 24, 2024 at 4:09 PM
Next, we'll revert compiling and test execution to the module path and change the test strategy to extra-modular.

The huge benefit will be to be closer to what AssertJ users do.

Time to read again this brilliant blog post from Christian Stein 😎

sormuras.github.io/blog/2018-09...

3/3
Testing In The Modular World
Source of sormuras development
sormuras.github.io
April 27, 2024 at 12:01 PM
Getting ready!

Get in touch if you'd like to work together on AssertJ or Spring Batch Notion 👨‍💻
November 23, 2024 at 7:56 AM
もう出たのか

MockMvcTesterでついにHamcrestベースの書き方からAssertJベースの書き方に移行できるようになるのね

これはけっこう嬉しい

spring.io/blog/2024/11...
November 22, 2024 at 10:47 AM
l'd be happy to help you get started with an AssertJ contribution, and there'll be other cool projects too-don't miss the opportunity!
Hack.Commit.Push is back to Switzerland🇨🇭, June 13th in Winterthur!
Join us for a day of learning, sharing, and contributing to Open Source.

winterthur2025.hack-commit-pu.sh
hack-commit-push · One Day to Contribute to Open Source
winterthur2025.hack-commit-pu.sh
April 29, 2025 at 11:10 AM
📢 AssertJ 3.27.1 has been released!

A few 🚫 deprecations and 🐛 bug fixes to celebrate the new year 🎇

This also marks 3.x entering maintenance mode and the beginning of 4.x development 🚀

Many thanks to all contributors and happy assertions!

github.com/assertj/asse...
Release v3.27.1 · assertj/assertj
🚫 Deprecated Core Deprecate usingComparatorForFields and remove deprecated assertions from usingComparatorForType documentation #3711 Deprecate hasCauseReference(Throwable) from Throwable assertio...
github.com
January 1, 2025 at 7:04 PM
..a new background initialization mode for individual beans, enhanced indexing support in SpEL, bean overriding in tests with @TestBean, @MockitoBean, and @MockitoSpyBean, AssertJ with MockMvc, dynamic property registration in a test's ApplicationContext,
November 19, 2024 at 10:44 PM
Initially, we want to increase the Java version but we'll continue to compile and run tests on the classpath.

This allows us to take small steps in the right direction.

github.com/assertj/asse...

2/3
Raise required Java version to 17 by scordio · Pull Request #3447 · assertj/assertj
This change moves the module descriptor of the core module to its main sources and removes the additional compiler execution. However, the module path is ignored when compiling the core module, exe...
github.com
April 27, 2024 at 11:59 AM
I agree with what they said. Most of @spring.io uses AssertJ. Even some custom asserters too!
a woman wearing sunglasses and a red jacket is pointing up with the words " this " above her
ALT: a woman wearing sunglasses and a red jacket is pointing up with the words " this " above her
media.tenor.com
March 19, 2025 at 11:45 PM
Might have a simple cause: There is absolutely no example in the main part of the AssertJ documentation. It's mentioned one time, but not shown. All other references are release notes. At least that's what I see using browser search on assertj.github.io/doc/
AssertJ - fluent assertions java library
assertj.github.io
December 21, 2024 at 7:36 PM
Tales from the jar side: Spring with AI: Chat with GPT, Moving to foojay.social, LinkedIn spam, AssertJ in Polish, and my inevitable commentary on the Travis Kelce / Taylor Swift relationship
open.substack.com/pub/kenkouse...
#Java #AI #OpenAI #Mastodon
Tales from the jar side: Spring with AI: Chat with GPT, Moving to foojay.social, LinkedIn spam, Asse...
My wife kissed me on the sofa and said, "Let's take this upstairs." I replied, "Okay, if you really want. You grab one end, I'll grab the other, and maybe we can get the boy to help turn the corner."
open.substack.com
October 8, 2023 at 8:27 PM
BTW AssertJ breaking changes will come after 4.0.0-M1 💥 we would be happy to work with the @openrewrite.github.io team for a simpler migration.

Paging @timtebeek.github.io 🙂
March 8, 2025 at 7:11 PM
Soon, the 100 tips about #Java Testing Tools will be back with Testcontainers, AssertJ, Mockito, and Datafaker
March 10, 2025 at 8:48 PM
If you use AssertJ instead of JUnit 5 Assertions, then you can have custom assertions without any static utility class (rather one assertion class per domain class). And OpenRewrite can convert your assertions from one to the other.
January 31, 2025 at 6:53 AM
Spring Framework 6.2 introduced MockMvcTester to support writing AssertJ style assertions.

blog.jetbrains.com/idea/2025/04...

In this article I have covered testing:
✨REST API JSON response
✨API exception handling
✨Thymeleaf view rendering
✨URL redirects & flash attributes
✨Model validation errors
A Practical Guide to Testing Spring Controllers With MockMvcTester | The IntelliJ IDEA Blog
Spring Framework 6.2 introduced MockMvcTester to support writing AssertJ style assertions using AssertJ under the hood. If you’re using Spring Boot, the spring-boot-starter-test dependency transiti
blog.jetbrains.com
April 23, 2025 at 3:57 AM
OpenRewrite v8.59.1 is here! 🏖

☸️ Parse Helm templates
⭐ Additional Groovy features
🧑‍🏫 More AssertJ best practices
🌀 Simplify annotation attributes
🪶 Tolerate invalid POMs
♻ Remove with Refaster
🔬 New static analysis recipes
🐞 Many smaller improvements & fixes

github.com/openrewrite/...
Release 3.12.1 · openrewrite/rewrite-recipe-bom
What's Changed OpenRewrite v8.59.1 rewrite-gradle-plugin v7.12.1 rewrite-maven-plugin v6.15.0 Full Changelog: v6.15.0
github.com
July 24, 2025 at 12:20 PM