Coder Social home page Coder Social logo

nandi / strikt Goto Github PK

View Code? Open in Web Editor NEW

This project forked from robfletcher/strikt

0.0 0.0 0.0 2.09 MB

An assertion library for Kotlin

Home Page: https://strikt.io/

License: Apache License 2.0

Shell 0.20% Java 0.33% Kotlin 99.02% SCSS 0.44%

strikt's Introduction

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

strikt's People

Contributors

robfletcher avatar christophsturm avatar cjbrooks12 avatar mkobit avatar eskatos avatar abendt avatar sandjelkovic avatar lenguyenthanh avatar tristanlins avatar adrielcafe avatar christian-draeger avatar dump247 avatar daniel-rusu avatar gavinray97 avatar ramazanyapparov avatar reevn avatar ilaborie avatar monosoul avatar qoomon avatar danielthomas avatar r0adkll avatar lnhrdt avatar lucasvsme avatar robd avatar segunfamisa avatar nandi avatar sksamuel avatar vbsteven avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.