All Projects → kotest → kotest-intellij-plugin

kotest / kotest-intellij-plugin

Licence: Apache-2.0 License
The official Kotest plugin for Intellij and Android Studio

Programming Languages

kotlin
9241 projects
HTML
75241 projects

Projects that are alternatives of or similar to kotest-intellij-plugin

fabric-loom
Gradle build system plugin used to automate the setup of a minecraft mod development environment.
Stars: ✭ 150 (+56.25%)
Mutual labels:  intellij
referencer-plugin
"Referencer" plugin for Jetbrains IDEs
Stars: ✭ 20 (-79.17%)
Mutual labels:  intellij
gradle-cleaner-intellij-plugin
Force clear delaying & no longer needed Gradle tasks.
Stars: ✭ 26 (-72.92%)
Mutual labels:  intellij
auto-dark-mode
IDEA plugin to automatically apply system theme settings on macOS and Windows.
Stars: ✭ 35 (-63.54%)
Mutual labels:  intellij
IdeaSingletonInspection
Inspection for detecting of inappropriate use of Singleton pattern in Java
Stars: ✭ 14 (-85.42%)
Mutual labels:  intellij
ColorSwitch
Color Switch in Javafx!
Stars: ✭ 18 (-81.25%)
Mutual labels:  intellij
dummytext-plugin
"Dummy Text Generator" plugin for Jetbrains IDEs
Stars: ✭ 31 (-67.71%)
Mutual labels:  intellij
sourcegraph-jetbrains
Sourcegraph for JetBrains IDEs (IntelliJ)
Stars: ✭ 34 (-64.58%)
Mutual labels:  intellij
GLAU BCSC0002
This is the official repository for the course Object-Oriented Programming BCSC0002 for GLA University 2019
Stars: ✭ 46 (-52.08%)
Mutual labels:  intellij
one-themes
One Dark and One Light Themes
Stars: ✭ 14 (-85.42%)
Mutual labels:  intellij
EditorGroups
IntelliJ plugin prototype of https://youtrack.jetbrains.com/issue/IDEA-12130#comment=27-2838171
Stars: ✭ 16 (-83.33%)
Mutual labels:  intellij
material-design-color-palette
🎨Material Design color palette pluin for IntelliJ based IDEs.
Stars: ✭ 19 (-80.21%)
Mutual labels:  intellij
capitalizing-on-a-great-idea
Samples for "Become a super user with IntelliJ" talk
Stars: ✭ 32 (-66.67%)
Mutual labels:  intellij
idea-carbon-now-sh
IntelliJ IDEA plugin to open the selected code in https://carbon.now.sh
Stars: ✭ 27 (-71.87%)
Mutual labels:  intellij
microframeworks-showcase
A simple grocery list webapplication implemented with the Microframeworks Spark Java, Jodd, Ninja, Javalite, Pippo and Ratpack
Stars: ✭ 29 (-69.79%)
Mutual labels:  intellij
highlight-bracket-pair
🎉Highlight bracket pair plugin for intellij
Stars: ✭ 25 (-73.96%)
Mutual labels:  intellij
FlameViewer
Tool for flamegraphs visualization
Stars: ✭ 76 (-20.83%)
Mutual labels:  intellij
zeekEye
A Fast and Powerful Scraping and Web Crawling Framework.
Stars: ✭ 36 (-62.5%)
Mutual labels:  intellij
gitextender
Git Extender is a plugin for jet brains products, like IntelliJ IDEA, which offers the option of updating all local branches that track a remote one for all git roots in the project
Stars: ✭ 15 (-84.37%)
Mutual labels:  intellij
bamboo-soy
An intellij plugin supporting Closure Template language (Soy)
Stars: ✭ 42 (-56.25%)
Mutual labels:  intellij

kotest-intellij-plugin

build-master intellij-badge Downloads Rating

The official Kotest plugin for Intellij and Android Studio

Getting Started

This plugin requires Kotest 4.1.0 or above.

  val kotestVersion = "4.1.3" or "4.2.6"
  
  // and then the kotlin dependencies
  dependencies {
    ...
    testImplementation("io.kotest:kotest-assertions-core-jvm:$kotestVersion") // optional, for kotest assertions
    testImplementation("io.kotest:kotest-runner-junit5-jvm:$kotestVersion") // required
  }
  
  tasks.withType<Test> { useJUnitPlatform() }

This plugin has been tested with IDEA 2020.3, 2020.2, 2020.1 and 2019.3.1.

Gutter Icons

The plugin provides gutter run icons for specs, top level tests, and nested tests.

gutter_icon_picture

Any tests disabled via a bang or by xfunctions such as xdescribe, will have a disabled test icon in the gutter.

gutter_icon_picture

Running Tests

If you execute a spec from the gutter icon, then all tests in that spec will be executed. If you execute a test, then that test and all nested tests will be executed.

gutter_icon_picture

Tool Window

The plugin provides a tool window view which displays the structure of your tests. The window describes the currently selected test file, which includes any specs defined in that file and tests contained inside those specs. The tree layout will mirror the structure of your tests for easy navigation.

test_explorer_tests

The tool window will include lifecycle callback methods (such as before / after test) if defined, as well as included test factories.

test_explorer_callbacks_picture

Clicking on a spec, test, include or callback will navigate directly to that element in the source editor.

Any tests that have been disabled using the bang prefix will have a different icon.

test_window_disabled_tests

You can execute (run/debug/run with coverage) a test or spec directly from this window. In addition, the window shows all test modules and allows you to run all tests in that module.

gutter_icon_picture

Modules, callbacks, and includes can be filtered out if you don't wish to see them. They are included by default.

Duplicated Test Highlighting

You cannot have two tests with the same name. The plugin will highlight any duplicated test names as errors.

duplicated_test_picture

Context Menu Run / Debug

Right clicking on a package will allow you to run, debug or run with coverage all the tests inside that package.

run_context_menu_picture

Intentions

This plugin has some basic intentions. For example, you can quickly mark a test as disabled.

gutter_icon_picture

Or you can highlight some text and mark it as should throw, or surround with a soft assertion block.

gutter_icon_picture

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].