strikt-gradle

Extensions for assertions and traversals on Gradle's test kit.

License

License

Categories

Categories

Gradle Build Tools
GroupId

GroupId

io.strikt
ArtifactId

ArtifactId

strikt-gradle
Last Version

Last Version

0.31.0
Release Date

Release Date

Type

Type

pom.sha512
Description

Description

strikt-gradle
Extensions for assertions and traversals on Gradle's test kit.
Project URL

Project URL

https://strikt.io/
Source Code Management

Source Code Management

http://github.com/robfletcher/strikt/

Download strikt-gradle

Dependencies

compile (2)

Group / Artifact Type Version
io.strikt : strikt-core jar 0.31.0
org.jetbrains.kotlin : kotlin-stdlib-jdk8 jar 1.4.32

Project Modules

There are no modules declared in this project.

Strikt

Strikt is an assertion library for Kotlin intended for use with a test runner such as JUnit, Minutest, Spek, or KotlinTest.

Strikt uses a fluent assertion style similar to AssertJ but leverages Kotlin's type system and extension functions rather than needing a complex hierarchy of assertion builder classes.

Strikt is under development, but 100% usable. The API may change until a version 1.0 is released. Any suggestions, issue reports, contributions, or feedback are very welcome.

Installation

Strikt is available from Maven Central.

repositories {
  mavenCentral()
}

dependencies {
  testImplementation("io.strikt:strikt-core:<version>")
}

See the button below or releases/latest for the current version number.

Additional Libraries

Strikt has the following additional libraries:

  • strikt-arrow -- supports data types from the Arrow functional programming library.
  • strikt-gradle -- supports the Gradle build tool.
  • strikt-jackson -- supports the Jackson JSON library.
  • strikt-jvm -- supports types from the Java SDK.
  • strikt-mockk -- supports types from the MockK library.
  • strikt-protobuf -- supports Protobuf / gRPC.
  • strikt-spring -- supports the Spring Framework.

Versions are synchronized with the core Strikt library.

To install additional libraries include dependencies in your Gradle build. For example:

dependencies {
  testImplementation("io.strikt:strikt-jvm:<version>")
}

Bill of Materials

Strikt supplies a BOM that is useful for aligning versions when using more than one Strikt module.

dependencies {
  // BOM dependency
  testImplementation(platform("io.strikt:strikt-bom:<version>"))

  // Versions can be omitted as they are supplied by the BOM
  testImplementation("io.strikt:strikt-jackson")
  testImplementation("io.strikt:strikt-jvm")
  testImplementation("io.strikt:strikt-spring")
}

Using Strikt

Please see the project documentation and API docs.

Community

Join the #strikt channel on the Kotlin Slack.

Follow @stri_kt on Twitter for updates and release notifications.

Maven Central GitHub Release Date license GitHub issues GitHub Workflow Status (branch) GitHub top language Twitter Follow

Versions

Version
0.31.0
0.30.1
0.30.0
0.29.0
0.28.2