All Projects → kotest → kotest-gradle-plugin

kotest / kotest-gradle-plugin

Licence: Apache-2.0 License
A gradle plugin for Kotest

Programming Languages

kotlin
9241 projects

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

scalatest-junit-runner
JUnit 5 runner for Scalatest
Stars: ✭ 30 (+66.67%)
Mutual labels:  test, gradle-plugin, testing-tools
api-test
🌿 A simple bash script to test JSON API from terminal in a structured and organized way.
Stars: ✭ 53 (+194.44%)
Mutual labels:  test, testing-tools
eaf-linter
🤪 A linter, prettier, and test suite that does everything as-simple-as-possible.
Stars: ✭ 17 (-5.56%)
Mutual labels:  test, testing-tools
sushi
The SUSHI test case generator
Stars: ✭ 19 (+5.56%)
Mutual labels:  test, testing-tools
laika
Log, test, intercept and modify Apollo Client's operations
Stars: ✭ 99 (+450%)
Mutual labels:  test, testing-tools
Orion-Stress-Tester
A simple, efficient and accurate stress tester, support HTTP, WebSocket and TCP
Stars: ✭ 32 (+77.78%)
Mutual labels:  test, testing-tools
IO-TESTER
A functional test framework
Stars: ✭ 32 (+77.78%)
Mutual labels:  test, testing-tools
PixelTest
Fast, modern, simple iOS snapshot testing written purely in Swift.
Stars: ✭ 56 (+211.11%)
Mutual labels:  test, testing-tools
xray-action
... a GitHub action to import test results into "Xray" - A complete Test Management tool for Jira.
Stars: ✭ 16 (-11.11%)
Mutual labels:  test, testing-tools
kotlin-plugin-generated
A Kotlin compiler plugin that annotates Kotlin-generated methods for improved coverage reports
Stars: ✭ 33 (+83.33%)
Mutual labels:  test, gradle-plugin
qiniutest
Qiniu httptest tool: qiniutest
Stars: ✭ 36 (+100%)
Mutual labels:  test, testing-tools
Wasmite
Now WebAssembly has proper testing, unit-testing and debugging 🤗
Stars: ✭ 20 (+11.11%)
Mutual labels:  test, testing-tools
playwright-test
Run unit tests with several runners or benchmark inside real browsers with playwright.
Stars: ✭ 81 (+350%)
Mutual labels:  test, testing-tools
generator-react-jest-tests
A React Jest test generator. Generates snapshot tests for React components.
Stars: ✭ 34 (+88.89%)
Mutual labels:  test, testing-tools
threat9-test-bed
No description or website provided.
Stars: ✭ 26 (+44.44%)
Mutual labels:  test, testing-tools
Telegraf-Test
Telegraf Test - Simple Test ToolKit of Telegram Bots
Stars: ✭ 22 (+22.22%)
Mutual labels:  test, testing-tools
eat
Json based scenario testing tool(which can have test for functional and non-functional)
Stars: ✭ 41 (+127.78%)
Mutual labels:  test, testing-tools
carina
Carina automation framework: Web, Mobile, API, DB etc testing...
Stars: ✭ 652 (+3522.22%)
Mutual labels:  test, testing-tools
BaseUrlManager
⛵ BaseUrlManager的设计初衷主要用于开发时,有多个环境需要打包APK的场景,通过BaseUrlManager提供的BaseUrl动态设置入口,只需打一次包,即可轻松随意的切换不同的开发环境或测试环境。在打生产环境包时,关闭BaseUrl动态设置入口即可。
Stars: ✭ 43 (+138.89%)
Mutual labels:  test, testing-tools
Shot
Screenshot testing library for Android
Stars: ✭ 951 (+5183.33%)
Mutual labels:  gradle-plugin, testing-tools

kotest-gradle-plugin

build

Gradle plugin for running JVM tests with Kotest. Requires Kotest 4.3.x or higher.

This is an alternative to using JUnit5 support and provides better output than the gradle default, especially for nested tests but should be considered alpha.

How to use

Add the plugin to your gradle build file:

plugins {
     id("io.kotest") version "0.3.8"
}

Ensure your build has the kotest engine dependency and remove the junit5 dependency if this was in your build previously.

dependencies {
  testImplementation("io.kotest:kotest-assertions-core-jvm:$version")
  testImplementation("io.kotest:kotest-framework-engine-jvm:$version")
}

Then execute the tests at the command line using the kotest task.

./gradlew kotest

Or from within intellij under the gradle -> tasks -> verification -> kotest task.

Example Output

output image

Another example with failure:

output image with failure

Errors are again summarized at the end for easy digesting:

output image with failure

Changelog

0.3.8

  • Added --tags option

0.3.7

  • Updated to work with gradle 7
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].