Advertisement · 728 × 90

Posts by AssertJ

Post image

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

1 month ago 6 3 0 0
AssertJ quote from the GitHub Secure Open Source Fund: "We shifted security from a stretch goal to a core requirement."

AssertJ quote from the GitHub Secure Open Source Fund: "We shifted security from a stretch goal to a core requirement."

📢 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 month ago 14 6 1 0
Preview
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...

#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/...

1 month ago 11 4 0 0
Preview
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...

📢 AssertJ 3.27.7 has been released!

This fixes CVE-2026-24400 🔒

Happy assertions!

github.com/assertj/asse...

2 months ago 9 4 0 0
Preview
GitHub - martinellich/testcontainers-mailpit Contribute to martinellich/testcontainers-mailpit development by creating an account on GitHub.

🚀 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 👍

2 months ago 6 2 0 0
AssertJ use it now
AssertJ use it now YouTube video by Mike Møller Nielsen

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

3 months ago 9 5 0 0
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 ...

🤔 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...

4 months ago 16 9 0 0
Advertisement
Preview
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...

#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/...

4 months ago 9 3 0 0

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.

4 months ago 23 4 1 0
Preview
Add AssertJ contributions by scordio · Pull Request #7 · hack-commit-push/switzerland2025

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-...

4 months ago 6 2 0 0
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 ...

🤔 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...

4 months ago 16 9 0 0

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!

4 months ago 7 8 0 0
Post image

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

5 months ago 4 3 0 0
Post image

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... !

5 months ago 7 4 0 1

It's great to see the community actively watching over the early development of AssertJ 4!

5 months ago 4 1 0 0
Advertisement
My Presentations | Ted M. Young Articles, Videos, Training, and Coaching for Java Developers

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

6 months ago 7 4 0 0
Preview
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.

Many thanks to our new sponsor, LambdaTest!

www.lambdatest.com

6 months ago 1 1 0 0
Preview
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

📢 AssertJ 3.27.6 has been released!

This fixes a 🐛 regression related to the module descriptor 🧩

Happy assertions!

github.com/assertj/asse...

6 months ago 9 8 0 0
Preview
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 ...

📢 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...

6 months ago 15 10 0 0
Post image

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!

6 months ago 3 2 0 0
Better Assertions with AssertJ by Tim te Beek @ Spring I/O 2025
Better Assertions with AssertJ by Tim te Beek @ Spring I/O 2025 YouTube video by Spring I/O

🍃 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

6 months ago 10 6 0 0
Preview
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…

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

7 months ago 10 5 0 0

`satisfies(Consumer...)` is an effective option for executing assertions with the same root instance, while soft assertions allow executing assertions on multiple unrelated instances.

7 months ago 3 0 1 0
Advertisement
Post image

Last morning talk at #KCDC2025: @jeanneboyarsky.bsky.social is teaching us about testing beyond JUnit. Here, she’s covering @assertj.github.io

7 months ago 8 3 1 0
Screenshot showing accepted hands on lab of  two hours called Breaking your testing habits, presented by Rick Ossendrijver and Tim te Beek.

Screenshot showing accepted hands on lab of two hours called Breaking your testing habits, presented by Rick Ossendrijver and Tim te Beek.

Excited to return to @devoxx.com with @rickossendrijver.bsky.social ! See you there to modernize your test suite 🚀

8 months ago 13 1 1 0
Preview
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...

📢 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...

8 months ago 12 7 0 0
Preview
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…

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

8 months ago 11 6 0 0

Something is brewing ☕

github.com/assertj/asse...

8 months ago 6 4 0 0
Preview
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

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/...

8 months ago 13 5 0 0
An AssertJ code snippet that demonstrates how the recursive comparison can be used to ignore fields of a specific type:

```
record Person(String name, Instant birthday) {}

@Test
void test() {
    var person1 = new Person("John", Instant.EPOCH);
    var person2 = new Person("John", Instant.now());
    
    assertThat(person1)
        .usingRecursiveComparison()
        .ignoringFieldsOfTypes(Instant.class)
        .isEqualTo(person2);
}
```

An AssertJ code snippet that demonstrates how the recursive comparison can be used to ignore fields of a specific type: ``` record Person(String name, Instant birthday) {} @Test void test() { var person1 = new Person("John", Instant.EPOCH); var person2 = new Person("John", Instant.now()); assertThat(person1) .usingRecursiveComparison() .ignoringFieldsOfTypes(Instant.class) .isEqualTo(person2); } ```

The AssertJ Recursive Comparison might be a good candidate for your use case:
assertj.github.io/doc/#assertj...

8 months ago 18 2 0 0