TSDetect is your all in one tool for deteing code smells within your tests. Based on the research by https://testsmells.org/, This plugin analyzes unit tests in order to find potential design flaws.
-
Using IDE built-in plugin system:
Settings/Preferences > Plugins > Marketplace > Search for "TSDetect" > Install Plugin
-
Manually:
Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...
For contributing test smells to the project see the Contributing Page
We recommend cloning through IntelliJ. This will ensure all dependencies are set up correctly. Be sure to give gradle time to finish setting up.
Ensure that project JDK and Language Level are set to 13 This can be found as shown below File > Project Structure > Project
Open Project Structure | Select JDK13 and Language Level 13 |
---|---|
Select the Run Plugin option from the drop down.
- There is a known issue where gradle will not always update the version of java used to run unit tests, can be fixed manually in
- This can be remedied by manually going into following setting sand updating to use java 13
Project Settings > Build > Execution > Deployment > Build Tools > Gradle
For more info, please go to https://testsmells.org/
Plugin based on the IntelliJ Platform Plugin Template.