BraisGabin / detekt-junit-rules

Detekt rules to avoid common mistakes while using JUnit4 or JUnit5

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Detekt JUnit rules

Rules to avoid common mistakes while using JUnit4 or JUnit5

How to use it

Add this to your module gradle configuration:

dependencies {
  detektPlugins("com.braisgabin.detekt:junit:0.0.6")
}

Configuration

If you use detekt 1.21.0 or later all works out of the box. If you don't you should copy the content of this file inside your detekt configuration to make able to run the rules.

About

Detekt rules to avoid common mistakes while using JUnit4 or JUnit5

License:Apache License 2.0


Languages

Language:Kotlin 100.0%