Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/braisgabin/detekt-junit-rules
Detekt rules to avoid common mistakes while using JUnit4 or JUnit5
https://github.com/braisgabin/detekt-junit-rules
detekt detekt-plugin detekt-rules static-analysis
Last synced: about 1 month ago
JSON representation
Detekt rules to avoid common mistakes while using JUnit4 or JUnit5
- Host: GitHub
- URL: https://github.com/braisgabin/detekt-junit-rules
- Owner: BraisGabin
- License: apache-2.0
- Created: 2021-08-30T13:58:08.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-09T06:20:45.000Z (2 months ago)
- Last Synced: 2024-09-09T07:44:28.359Z (2 months ago)
- Topics: detekt, detekt-plugin, detekt-rules, static-analysis
- Language: Kotlin
- Homepage:
- Size: 291 KB
- Stars: 5
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Detekt JUnit rules
Rules to avoid common mistakes while using JUnit4 or JUnit5
## How to use it
Add this to your module gradle configuration:
```kotlin
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][config.yml]
inside your detekt configuration to make able to run the rules.[config.yml]: https://github.com/BraisGabin/detekt-junit-rules/blob/main/src/main/resources/config/config.yml