AssertJ
assertj.github.io
AssertJ
@assertj.github.io
Fluent testing assertions for Java and the JVM
Pinned
📢 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
Reposted by AssertJ
Hack.Commit.Push Switzerland is just one week away! 🇨🇭

This is a great opportunity to get involved in Open Source projects like @assertj.github.io, with direct guidance from the maintainers!
The next edition of Hack.Commit.Push Switzerland🇨🇭will take place in Rotkreuz LU this November 22nd. Care to join us for some Open Source hacking? It’s for a good cause!

switzerland2025.hack-commit-pu.sh
hack-commit-push · One Day to Contribute to Open Source
switzerland2025.hack-commit-pu.sh
November 13, 2025 at 10:31 AM
Reposted by AssertJ
Sur le blog de #norsys, mon collègue Kelean vient de publier un billet qui présente @assertj.github.io et comment le mettre à profit pour améliorer ses tests unitaires.

medium.com/norsys-octog...

#JUnit #AssertJ #Java #Test #TestUnitaire
October 17, 2025 at 7:16 AM
Reposted by AssertJ
Our next meetup will take place on November 4th at ING Leeuwarden to help you improve your testing with @timtebeek.github.io covering AssertJ and @simoneromani.bsky.social mutating tests for more confidence.

Sign up at www.meetup.com/jug-noord/ev... !
October 13, 2025 at 8:10 PM
It's great to see the community actively watching over the early development of AssertJ 4!
🧪 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 9, 2025 at 4:59 PM
Reposted by AssertJ
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
Many thanks to our new sponsor, LambdaTest!

www.lambdatest.com
LambdaTest - AI Powered Testing Tool | AI Testing Agents On Cloud
Power your software testing with AI and cloud. Test intelligently, deploy and scale faster with LambdaTest unified testing platform.
www.lambdatest.com
September 30, 2025 at 7:48 AM
📢 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
Reposted by AssertJ
Messy tests make messy code. In this session @ted.dev shows how to refactor JUnit tests with AssertJ, builders & patterns to keep them clear, lean & powerful. 🚀

www.dev2next.com/speaker/af08...

🎟️ Secure tickets at dev2next.com
👀 Use code JOIN-TED-M.Y-50OFF for a discount!
September 18, 2025 at 6:00 PM
Reposted by AssertJ
🍃 Better Assertions with AssertJ by @timtebeek.github.io @ Spring I/O 2025

▶️ Video: youtu.be/k7sXn1v4fYc

🔗 Slides: 2025.springio.net/slides/bette...

🛠️ Repo: github.com/timtebeek/be... #springio25
Better Assertions with AssertJ by Tim te Beek @ Spring I/O 2025
YouTube video by Spring I/O
youtu.be
September 12, 2025 at 2:23 PM
Reposted by AssertJ
Hard assertions = fast feedback ✅
But when one failure hides others, you lose valuable insight. 😥

Here’s how to use custom soft assertions with AssertJ to make your tests graceful, readable, and thorough:
eliasnogueira.com/assert-with-...

#java #testing #quality
Assert with Grace: Custom Soft Assertions using AssertJ for Cleaner Code - Elias Nogueira
Introduction If you don't know what a soft assertion is, please read Soft Asserts – Why should you use them for Unit and Integration tests? This article is a continuation of Assert with Grace: Custom…
eliasnogueira.com
August 21, 2025 at 12:56 PM
Reposted by AssertJ
Last morning talk at #KCDC2025: @jeanneboyarsky.bsky.social is teaching us about testing beyond JUnit. Here, she’s covering @assertj.github.io
August 15, 2025 at 4:06 PM
Reposted by AssertJ
Excited to return to @devoxx.com with @rickossendrijver.bsky.social ! See you there to modernize your test suite 🚀
August 7, 2025 at 8:06 AM
📢 AssertJ 3.27.4 has been released!

This fixes a 🐛 regression introduced in 3.26.0, brings a few minor 🚫 deprecations, and paves the way for ⚡ smoother NullAway integration.

Happy assertions!

github.com/assertj/asse...
Release v3.27.4 · assertj/assertj
🚫 Deprecated Core Deprecate org.assertj.core.annotations.Beta in favor of org.assertj.core.annotation.Beta Deprecate org.assertj.core.util.CanIgnoreReturnValue in favor of org.assertj.core.annotat...
github.com
August 7, 2025 at 3:46 PM
Reposted by AssertJ
Want cleaner, more expressive tests in Java?

✅ Avoid endless try-catch
✅ Group failures with elegance
✅ Use AssertJ the right way

Soft assertions can raise your testing game without clutter.

Learn how:
eliasnogueira.com/assert-with-...

#java #quality #test #qualityengineering
Assert with Grace: Custom Soft Assertions using AssertJ for Cleaner Code - Elias Nogueira
Introduction If you don't know what a soft assertion is, please read Soft Asserts – Why should you use them for Unit and Integration tests? This article is a continuation of Assert with Grace: Custom…
eliasnogueira.com
August 4, 2025 at 8:58 AM
Something is brewing ☕

github.com/assertj/asse...
July 31, 2025 at 9:58 AM
Reposted by AssertJ
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
Should we establish a dedicated space for the AssertJ community on Gitter?

Cast your vote!

github.com/orgs/assertj...
Should AssertJ be on Gitter? · assertj · Discussion #3855
Sometimes, users and contributors would like to engage more interactively with both maintainers and the rest of the community, and communicating via GitHub might feel intimidating.
github.com
June 15, 2025 at 10:03 AM
Reposted by AssertJ
📆 Only two weeks until Hack.Commit.Push, on June 13th in Winterthur!🇨🇭

Join us for a day of learning, sharing, and contributing to Open Source 🧑‍💻

winterthur2025.hack-commit-pu.sh
June 2, 2025 at 6:03 AM
Reposted by AssertJ
FYI, if you need to compare 2 objects in a #java test, do not manually compare all fields by calling the getters. Instead, do it with 1 line of AssertJ:

medium.com/@lucascalebe...
Simplify Your Java Tests with Recursive Comparison 🧪 🧼
In Java, writing tests often involves comparing objects to ensure they meet expected conditions. Typically, developers use assertions to…
medium.com
June 5, 2025 at 12:02 PM
Reposted by AssertJ
Join me in fifteen minutes for Better Assertions with AssertJ @springio.net room 5!
May 22, 2025 at 8:44 AM
Reposted by AssertJ
The Moderne world tour continues! ✈️

Next up, meet us at @springio.net ‬in beautiful Barcelona, May 22-23. 🤝

Don't miss @timtebeek.github.io's session, "Better Assertions with AssertJ" ☕

Details: 2025.springio.net/sessions/bet...
May 20, 2025 at 8:52 PM
Reposted by AssertJ
If you need a quick introduction to AssertJ-DB, my talk at Devoxx is available on youtube : youtu.be/XILu4r3rIEc

#AssertJDB #AssertJ #tests
youtu.be
May 17, 2025 at 5:46 PM
Reposted by AssertJ
Learn to write unit tests for a #SpringBoot REST API endpoint that returns an object as JSON. This guide identifies the key tests, shows how to eliminate duplicate request building code, and demonstrates how to write the required assertions with MockMvcTester and AssertJ.
Writing Unit Test With MockMvcTester: Returning an Object as JSON - Petri Kainulainen
This blog post helps us to identify the required test cases and describes how we can write unit tests for a Spring MVC REST API endpoint that returns an object as JSON.
www.petrikainulainen.net
May 13, 2025 at 3:20 PM
Reposted by AssertJ
📆 One month left!

Join us for a full day of open source on June 13th!
Friends in 🇪🇺, we’re hosting another Hack.Commit.Push event in Winterthur🇨🇭 on June 13th

Would you like to join us?

winterthur2025.hack-commit-pu.sh
hack-commit-push · One Day to Contribute to Open Source
winterthur2025.hack-commit-pu.sh
May 13, 2025 at 5:50 AM