Custom IDE inspections for effective testing


Alex Levin
Senior software engineer

Alex is a senior software engineer specializing in full-stack development and Kotlin. He is passionate about knowledge sharing and brings his expertise to idiomatic Kotlin. He is an active member of a community for Kotlin starters.

When writing tests from scratch or especially when migrating them from one JVM language to another (or even framework), the modern IDEs (especially IntelliJ IDEA) are very handy, as there are a lot of inspections out of the box. The thing is, sometimes, they are not enough or not suggesting idiomatic replacements.

In this talk, we are going to cover the following:

- Definition of idiomatic pattern of a library/framework/language

- Usage of structural search and replace in IntelliJ IDEA

- Creating inspections using structural search and replace

- Sharing your inspections with everyone

Examples will be demonstrated in Kotlin