C

Concise AssertJ Optimizing Nitpicker (Cajon)

JetBrains

6800c3bd-c353-431b-8518-83893fd74495 · v—

Cajon is an IntelliJ IDEA Plugin for shortening and optimizing AssertJ assertions. It adds several inspections and quick fixes to fully use the fluent assertion methods and thus makes the intention clear and concise, also generating better messages on test failures. It can also be used to convert JUnit 4 assertions and assumptions to AssertJ . It supports referencing inside extracting ()-methods with strings, adding refactoring safety. Bogus or twisted a

Testing
Open in store ↗ id: 12195
Downloads
11K
10 950
Rating
4.1 ★
6 ratings
Category
JetBrains Marketplace
Collected
2026-11-04
weekly snapshot

Rating distribution

4.1 ★ 6 ratings
5★ 83.3%
4★ 16.7%

Reviews 6

★★★★★ Ivan Ivanov 2024-07-11

Good plugin.

★★★★★ Ben Gibson 2022-05-31

Really useful! Thanks for taking the time to create this.

★★★★★ Christian Muth 2019-07-03

Great Plugin! Very lightweight and elegant. Effortlessly translates overly verbose assertions into more readable, concise ones! Thx a lot!

★★★★★ Khalid B 2019-07-02

Really great and useful plugin. Helped me update nearly 500 test classes that were using outdated assert libraries or incorrectly using assertThat

★★★★★ Alejandro Gomez 2019-08-23

Great plugin, especially useful when migrating assertions to assertj. I'd love that it works also with kotlin

★★★★★ Tilman Kolossa 2020-11-23

Just found this plugin and love it already! Automatically transforming old "assertEquals"-style unit tests works flawlessly, and the hints for the AssertJ assertions also help a lot.

Similar in “Testing”