AssertJ

AssertJ

@assertj.github.io

Fluent testing assertions for Java and the JVM

459 followers4 following29 posts

AssertJ reposted

When we started TestLens, we knew who we were building it for: teams that take their test suites seriously. So it means a lot that some of the most widely used testing projects in the JVM world now use TestLens on their own pull requests. 👉️ Read more: testlens.app/blog/2026/09... #java #junit

testlens.appLeading Open Source Projects Trust TestLensJUnit Framework, AssertJ, Apache Groovy, Apache Grails, and Spock Framework are early adopters of TestLens.

AssertJ reposted

I had a blast at JUG Lucerne, with a small but engaging crowd whom I spent almost three hours with! 😍 What stuck with me the most: • AssertJ should be renamed to AssertJoy • They would love a hands-on follow-up with more advanced use cases Many thanks again to @mcpringle.bsky.social for having me!

AssertJ reposted

AssertJ reposted

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!

AssertJ reposted

AssertJ reposted

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

AssertJ reposted

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

AssertJ reposted

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

github.comRelease 3.24.0 · openrewrite/rewrite-recipe-bomWhat'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...

AssertJ reposted

AssertJ reposted

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

github.comRelease 3.20.0 · openrewrite/rewrite-recipe-bomWhat'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...

AssertJ reposted

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.

AssertJ reposted

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!

Andres Almiray@andresalmiray.com

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

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

Jfokus@jfokus.se

🧪 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

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

github.comRelease 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 reposted

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

github.comRelease 3.12.1 · openrewrite/rewrite-recipe-bomWhat's Changed OpenRewrite v8.59.1 rewrite-gradle-plugin v7.12.1 rewrite-maven-plugin v6.15.0 Full Changelog: v6.15.0

AssertJ reposted

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.

petrikainulainen.netWriting Unit Test With MockMvcTester: Returning an Object as JSON - Petri KainulainenThis 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.

AssertJ reposted

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

github.comRelease 3.6.1 · openrewrite/rewrite-recipe-bomWhat's Changed OpenRewrite v8.50.2 rewrite-gradle-plugin v7.4.1 rewrite-maven-plugin v6.6.0 Full Changelog: v6.6.0

AssertJ reposted

Replying to @jamesward.com

Have you looked into AssertJ? It's my favorite assertion library for Java, typesafe overloads of assertThat(...) make for great auto-completion.