AssertJ
@assertj.github.io
๐ค 457
๐ฅ 4
๐ 29
Fluent testing assertions for Java and the JVM
pinned post!
๐ข AssertJ 3.27.7 has been released! This fixes CVE-2026-24400 ๐ Happy assertions!
github.com/assertj/asse...
loading . . .
Release v3.27.7 ยท assertj/assertj
๐ Security Core Fix XXE vulnerability in isXmlEqualTo assertion (CVE-2026-24400) See GHSA-rqfh-9r24-8c9r for details; many thanks to @wxt201 and @Song-Li for responsibly reporting it! ๐ซ Deprec...
https://github.com/assertj/assertj/releases/tag/assertj-build-3.27.7
4 months ago
0
9
4
reposted by
AssertJ
Stefano Cordio
18 days ago
Now the Java User Group in Zurich knows what's wrong with AssertJ! And also how we're working to improve things. We're still in the early stages, but I can't wait to see all this work shipped to our users ๐ Thank you so much to everyone who joined and
@patbaumgartner.com
for hosting! I had a blast!
0
9
3
reposted by
AssertJ
Stefano Cordio
25 days ago
Less than a week to go! ๐ Join me this Tuesday at PH Zรผrich to discover how AssertJ 4 is about breaking things (carefully) to make your testing life better. Come for the technical debt, stay for the drinks and networking! ๐ป
www.jug.ch/html/events/...
loading . . .
Java User Group Switzerland: Event "What's wrong with AssertJ?! - How a decade of technical debt is addressed in version 4.0"
AssertJ has been a player in Java testing for over a decade, providing an intuitive set of strongly typed assertions designed to maximize test readability.ย Since the launch of version 3.0, the library...
https://www.jug.ch/html/events/2026/assertj.html
0
8
5
reposted by
AssertJ
Tim te Beek
about 1 month ago
Good morning
@jcon.one
! For the most dedicated audience there's a 9AM testing talk. ๐ See you there!
1
10
3
reposted by
AssertJ
JCON Conference
3 months ago
Excited for
#JCON
EUROPE 2026? See Tim te Beek at
#JCON2026
in Cologne talking about 'Better Assertions with
#AssertJ
' Not all testing
#libraries
are equal. Sure they all run your
#tests
, but what happens when they fail? โExpected โtrueโ, โฆ ๐๏ธ 2026.europe.jcon.one/tickets Free for
#JUG
members
0
6
3
reposted by
AssertJ
Stefano Cordio
3 months ago
๐ข AssertJ joined the GitHub Secure Open Source Fund, a program that leveled up security across 67 open source projects. What changed for us: SHA pinning, immutable releases, incident response plan, and a mindset shift toward security awareness ๐ The impact? More robust JVM assertions ๐
1
14
6
reposted by
AssertJ
OpenRewrite by Moderne
4 months ago
#OpenRewrite
v8.73.0 is out! ๐ฐ ๐ Python 2 parser + Python 3 recipes ๐ณ Docker parser + recipes ๐ Propagate Maven parent POM changes ๐งช New AssertJ and Mockito recipes ๐ Apache HttpAsyncClient 4โ5 ๐๏ธ Struts 1โ2โ5โ6โ7 recipes ๐ง Dropwizard 5.0 migration ๐ Tons of fixes
github.com/openrewrite/...
loading . . .
Release 3.24.0 ยท openrewrite/rewrite-recipe-bom
What's Changed Incorporates the latest versions of OpenRewrite (v8.73.0), the rewrite-gradle-plugin (v7.26.0), and the rewrite-maven-plugin (v6.29.0) to improve code parsing accuracy and recipe ex...
https://github.com/openrewrite/rewrite-recipe-bom/releases/tag/v3.24.0
0
11
4
๐ข AssertJ 3.27.7 has been released! This fixes CVE-2026-24400 ๐ Happy assertions!
github.com/assertj/asse...
loading . . .
Release v3.27.7 ยท assertj/assertj
๐ Security Core Fix XXE vulnerability in isXmlEqualTo assertion (CVE-2026-24400) See GHSA-rqfh-9r24-8c9r for details; many thanks to @wxt201 and @Song-Li for responsibly reporting it! ๐ซ Deprec...
https://github.com/assertj/assertj/releases/tag/assertj-build-3.27.7
4 months ago
0
9
4
reposted by
AssertJ
Simon Martinelli
5 months ago
๐ New update: AssertJ support in Testcontainers Mailpit I just added AssertJ assertions to my Testcontainers Mailpit project. You can now write fluent assertions instead of low-level checks. ๐ GitHub:
github.com/martinellich...
Feedback is welcome ๐
loading . . .
GitHub - martinellich/testcontainers-mailpit
Contribute to martinellich/testcontainers-mailpit development by creating an account on GitHub.
https://github.com/martinellich/testcontainers-mailpit
0
6
2
reposted by
AssertJ
Mike Mรธller Nielsen
5 months ago
This video is still relevant: โAssertJ โ Use It Now!โ ๐ If you write Java tests, this oneโs for you. Learn how AssertJ can make your assertions cleaner, clearer, and more powerful. Watch now:
youtu.be/qn4AMKTPpg8
#Java
#Testing
#AssertJ
#CleanCode
#DevTips
loading . . .
AssertJ use it now
YouTube video by Mike Mรธller Nielsen
https://youtu.be/qn4AMKTPpg8
0
9
5
reposted by
AssertJ
๐ค Who said that AssertJ 3 is in maintenance mode? ๐ข We're planning an exceptional 3.28 release โ let us know what you'd like to see in there! ๐
github.com/orgs/assertj...
loading . . .
Backport Scope for AssertJ 3.28.0 ยท assertj ยท Discussion #4018
We recently talked about how version 4 still needs a bit more work and probably won't be ready until at least the first half of 2026. Releasing a new major version is a rare opportunity for us: we ...
https://github.com/orgs/assertj/discussions/4018
6 months ago
0
16
9
reposted by
AssertJ
OpenRewrite by Moderne
6 months ago
#OpenRewrite
v8.68.1 is out! ๐ฌ ๐ฑ Spring Boot 4.0: additional properties & dependencies ๐ Migrate Spring Retry to Resilience ๐งช Hamcrest to AssertJ & JMockit to Mockito fixes ๐ข Node 22/24 upgrade recipes: fs, zlib, crypto & more ๐ค Jackson v3: migrate modules & feature flags
github.com/openrewrite/...
loading . . .
Release 3.20.0 ยท openrewrite/rewrite-recipe-bom
What's Changed Incorporates the latest versions of OpenRewrite (v8.68.1), the rewrite-gradle-plugin (v7.22.0), and the rewrite-maven-plugin (v6.25.0) to improve code parsing accuracy and recipe ex...
https://github.com/openrewrite/rewrite-recipe-bom/releases/tag/v3.20.0
0
9
3
reposted by
AssertJ
Ted M. Young (he/him) aka @JitterTed
6 months ago
Instead of buying more stuff that I donโt really need, Iโm sponsoring open source
#Java
projects that I rely on, starting with
#JUnit
and
#AssertJ
(via core maintainers Joel and Stefano). If I was a big company using Java, Iโd be embarrassed at not sponsoring these projects.
1
23
4
reposted by
AssertJ
Stefano Cordio
6 months ago
Many thanks to you,
@mcpringle.bsky.social
, and Alexandra, for the amazing organization! ๐ So many new contributors to
@assertj.github.io
in a single day!
github.com/hack-commit-...
loading . . .
Add AssertJ contributions by scordio ยท Pull Request #7 ยท hack-commit-push/switzerland2025
https://github.com/hack-commit-push/switzerland2025/pull/7
0
6
2
๐ค Who said that AssertJ 3 is in maintenance mode? ๐ข We're planning an exceptional 3.28 release โ let us know what you'd like to see in there! ๐
github.com/orgs/assertj...
loading . . .
Backport Scope for AssertJ 3.28.0 ยท assertj ยท Discussion #4018
We recently talked about how version 4 still needs a bit more work and probably won't be ready until at least the first half of 2026. Releasing a new major version is a rare opportunity for us: we ...
https://github.com/orgs/assertj/discussions/4018
6 months ago
0
16
9
reposted by
AssertJ
Stefano Cordio
7 months ago
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!
add a skeleton here at some point
0
7
8
reposted by
AssertJ
TheGeekInTheShell
8 months ago
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
0
4
3
reposted by
AssertJ
JUG Noord
8 months ago
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...
!
0
7
5
It's great to see the community actively watching over the early development of AssertJ 4!
add a skeleton here at some point
8 months ago
0
4
1
reposted by
AssertJ
Ted M. Young (he/him) aka @JitterTed
8 months ago
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
loading . . .
My Presentations | Ted M. Young
Articles, Videos, Training, and Coaching for Java Developers
https://ted.dev/talks/
0
7
4
Many thanks to our new sponsor, LambdaTest!
www.lambdatest.com
loading . . .
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.
https://www.lambdatest.com/
8 months ago
0
1
1
๐ข AssertJ 3.27.6 has been released! This fixes a ๐ regression related to the module descriptor ๐งฉ Happy assertions!
github.com/assertj/asse...
loading . . .
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
https://github.com/assertj/assertj/releases/tag/assertj-build-3.27.6
8 months ago
0
9
8
๐ข 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...
loading . . .
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 ...
https://github.com/assertj/assertj/releases/tag/assertj-build-3.27.5
9 months ago
0
15
10
reposted by
AssertJ
9 months ago
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!
0
3
2
reposted by
AssertJ
Spring I/O
9 months ago
๐ 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
loading . . .
Better Assertions with AssertJ by Tim te Beek @ Spring I/O 2025
YouTube video by Spring I/O
https://youtu.be/k7sXn1v4fYc
0
10
6
reposted by
AssertJ
Elias Nogueira ๐ง๐ท๐ณ๐ฑ
9 months ago
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
loading . . .
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โฆ
https://eliasnogueira.com/assert-with-grace-custom-soft-assertions-using-assertj-for-cleaner-code/
0
10
5
reposted by
AssertJ
Todd Ginsberg
10 months ago
Last morning talk at
#KCDC2025
:
@jeanneboyarsky.bsky.social
is teaching us about testing beyond JUnit. Here, sheโs covering
@assertj.github.io
1
8
3
reposted by
AssertJ
Tim te Beek
10 months ago
Excited to return to
@devoxx.com
with
@rickossendrijver.bsky.social
! See you there to modernize your test suite ๐
1
13
1
๐ข 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...
loading . . .
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...
https://github.com/assertj/assertj/releases/tag/assertj-build-3.27.4
10 months ago
0
12
7
reposted by
AssertJ
Elias Nogueira ๐ง๐ท๐ณ๐ฑ
10 months ago
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
loading . . .
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โฆ
https://eliasnogueira.com/assert-with-grace-custom-soft-assertions-using-assertj-for-cleaner-code
0
11
6
Something is brewing โ
github.com/assertj/asse...
add a skeleton here at some point
10 months ago
0
6
4
reposted by
AssertJ
OpenRewrite by Moderne
10 months ago
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/...
loading . . .
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
https://github.com/openrewrite/rewrite-recipe-bom/releases/tag/v3.12.1
0
13
5
Should we establish a dedicated space for the AssertJ community on Gitter? Cast your vote!
github.com/orgs/assertj...
loading . . .
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.
https://github.com/orgs/assertj/discussions/3855
12 months ago
0
2
2
reposted by
AssertJ
Stefano Cordio
12 months ago
๐ 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
0
3
3
reposted by
AssertJ
Tom Cools
12 months ago
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...
loading . . .
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โฆ
https://medium.com/@lucascalebe/simplify-your-java-tests-with-recursive-comparison-80d5bae48730
0
15
6
reposted by
AssertJ
Tim te Beek
about 1 year ago
Join me in fifteen minutes for Better Assertions with AssertJ
@springio.net
room 5!
0
18
2
reposted by
AssertJ
Moderne.ai
about 1 year ago
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...
loading . . .
0
10
5
reposted by
AssertJ
Julien Roy
about 1 year ago
If you need a quick introduction to AssertJ-DB, my talk at Devoxx is available on youtube :
youtu.be/XILu4r3rIEc
#AssertJDB
#AssertJ
#tests
loading . . .
https://youtu.be/XILu4r3rIEc
0
5
3
reposted by
AssertJ
Petri Kainulainen
about 1 year ago
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.
loading . . .
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.
https://www.petrikainulainen.net/programming/testing/writing-unit-test-with-mockmvctester-returning-an-object-as-json/
0
2
2
reposted by
AssertJ
Stefano Cordio
about 1 year ago
๐ One month left! Join us for a full day of open source on June 13th!
add a skeleton here at some point
0
2
2
reposted by
AssertJ
Stefano Cordio
about 1 year ago
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!
add a skeleton here at some point
0
10
6
reposted by
AssertJ
Siva
about 1 year ago
A Practical Guide to Testing Spring Controllers With MockMvcTester
blog.jetbrains.com/idea/2025/04...
loading . . .
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
https://blog.jetbrains.com/idea/2025/04/a-practical-guide-to-testing-spring-controllers-with-mockmvctester/
1
7
4
reposted by
AssertJ
OpenRewrite by Moderne
about 1 year ago
OpenRewrite v8.50.2 is here! ๐ ๐ Gradle Kotlin DSL recipes ๐ Groovy parser improvements ๐ Expand JavaTemplate & Refaster support ๐งช New recipes for AssertJ & JUnit 5 ๐ Recipes for Spring Framework 6.2 & Spring Batch
github.com/openrewrite/...
loading . . .
Release 3.6.1 ยท openrewrite/rewrite-recipe-bom
What's Changed OpenRewrite v8.50.2 rewrite-gradle-plugin v7.4.1 rewrite-maven-plugin v6.6.0 Full Changelog: v6.6.0
https://github.com/openrewrite/rewrite-recipe-bom/releases/tag/v3.6.1
0
9
3
reposted by
AssertJ
Stefano Cordio
about 1 year ago
And here we are!
#VDZ25
0
5
2
reposted by
AssertJ
Spencer Gibb
about 1 year ago
I agree with what they said. Most of
@spring.io
uses AssertJ. Even some custom asserters too!
1
7
1
reposted by
AssertJ
Eric Deandrea
about 1 year ago
+1000 to AssertJ. Have even built my own customer asserters for my own domain to give more fluent assertions
1
12
3
reposted by
AssertJ
Gunnar Morling
about 1 year ago
Have you looked into AssertJ? It's my favorite assertion library for Java, typesafe overloads of assertThat(...) make for great auto-completion.
1
17
3
reposted by
AssertJ
Stefano Cordio
about 1 year ago
This year, you might see
@jocosti.bsky.social
and me in the crowd! Here's your chance to complain about that AssertJ feature you're missing, directly to the source! ๐ We're also happy if you just come over and say hello!
add a skeleton here at some point
1
3
1
๐ข AssertJ 4.0.0-M1 has been released! ๐ Required Java version increased to 17 ๐งฉ Module-only build and modular Javadoc ๐ซ Existing deprecations marked for removal Happy assertions!
github.com/assertj/asse...
loading . . .
Release v4.0.0-M1 ยท assertj/assertj
๐งฉ Binary Compatibility This release is binary incompatible with the previous major version. ๐ฅ Breaking Changes Raise required Java version to 17 #3447 ๐ซ Deprecated Set since = "3" and forRemoval...
https://github.com/assertj/assertj/releases/tag/assertj-build-4.0.0-M1
about 1 year ago
0
16
6
reposted by
AssertJ
Stefano Cordio
about 1 year ago
This is finally done! To see how we put together in-module and extra-module testing, check
github.com/assertj/asse...
.
loading . . .
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 Deliverables In-module testing is successfully applied for assertj-core Module descriptor is added to assertj-guava Modular testing...
https://github.com/assertj/assertj/pull/3771
0
2
1
Want to know more about AssertJ-DB? Here's your chance to meet the project lead at
@devoxxfr.bsky.social
!
add a skeleton here at some point
over 1 year ago
0
5
3
Load more
feeds!
log in