pinterest / ktlint

An anti-bikeshedding Kotlin linter with built-in formatter
https://pinterest.github.io/ktlint/
MIT License
6.06k stars 504 forks source link

Migrate from AssertJ to AssertK #2586

Open Goooler opened 4 months ago

Goooler commented 4 months ago

AssertK is a fluent assertion library for Kotlin, which is designed with Kotlin idioms. It would be nice to migrate to that.

https://github.com/willowtreeapps/assertk

paul-dingemans commented 3 months ago

Currently I see no benefits of migrating ktlint from Assertj to Assertk. Most of the tests are based on ktlint's internal dsl for validating lint/format issues. That dsl is quite complex and might be simplified when using Assertk. I will mark the issue as parked, but if someone else would like to pick it up I am okay with that.

Goooler commented 3 months ago

That dsl is quite complex and might be simplified when using Assertk.

I see it too. Will take a look when I'm free of time.