Kotlin Compiler Plugin which high-jacks Kotlin assert function calls and transforms them similar to Groovy's Power Assert feature. This plugin uses the IR backend for the Kotlin compiler and supports all platforms: JVM, JS, and Native!

Features

  • The plugin by default will transform assert function calls but can also transform other functions like require, check, assertTrue, and many, many more
  • Gradle Plugin
  • Documentation available
  • Examples available
  • The Kotlin compiler plugin API is unstable and each new version of Kotlin can bring breaking changes to the APIs used by this compiler plugin
  • This plugin supports all IR based compiler backends

Project Samples

Project Activity

See All Activity >

Categories

Compilers

License

Apache License V2.0

Follow kotlin-power-assert

kotlin-power-assert Web Site

Other Useful Business Software
Auth0 for AI Agents now in GA Icon
Auth0 for AI Agents now in GA

Ready to implement AI with confidence (without sacrificing security)?

Connect your AI agents to apps and data more securely, give users control over the actions AI agents can perform and the data they can access, and enable human confirmation for critical agent actions.
Start building today
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of kotlin-power-assert!

Additional Project Details

Operating Systems

Android

Programming Language

Kotlin

Related Categories

Kotlin Compilers

Registered

2024-02-21