Skip to content

kotest/kotest-cookbook

Repository files navigation

Kotest Cookbook

Assertions

Both shouldBe and shouldNotBe are Swiss army knives - they will compare anything to anything, but for better results we should be using more specialized tools.

Data Classes

Json

Collections

Flaky Tests

Race Conditions

Faulty Assertions

Property Testing

🚀 Getting Started

Prerequisites

  • Java 21 or higher
  • No need to install Gradle (uses Gradle wrapper)

Building the Project

# Build the project
./gradlew build

# Run tests
./gradlew test

# Run tests with detailed output
./gradlew test --info

# Generate test report
./gradlew test --continue
# Report available at: build/reports/tests/test/index.html

📖 Learning Resources

Contributing

Feel free to submit pull requests or create issues.

📄 License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

About

Practical recipes for kotest user

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages