strikt-java-time

Extensions for assertions and traversals on types from the java.time package.

License

License

Categories

Categories

Java Languages
GroupId

GroupId

io.strikt
ArtifactId

ArtifactId

strikt-java-time
Last Version

Last Version

0.28.2
Release Date

Release Date

Type

Type

pom.sha512
Description

Description

strikt-java-time
Extensions for assertions and traversals on types from the java.time package.
Project URL

Project URL

https://strikt.io/
Source Code Management

Source Code Management

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

Download strikt-java-time

Dependencies

compile (2)

Group / Artifact Type Version
io.strikt : strikt-core jar 0.28.2
org.jetbrains.kotlin : kotlin-stdlib-jdk8 jar 1.4.21-2

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.28.2