Skip to content

Osmon is a modern assertion library for Kotlin

Notifications You must be signed in to change notification settings

behzodhalil/osmon

Repository files navigation

Osmon


Osmon Cover Image

Install

Add the dependency below into your module's build.gradle.kts file:

dependencies {
    val osmonVersion = "1.1.2"
    
    testImplementation("io.github.behzodhalil:osmon-jvm:$osmonVersion")
    testImplementation("io.github.behzodhalil:osmon-dsl:$osmonVersion")
}

Examples

toEquals

"some text" toEquals "some text"

toNotEquals

"some text" toNotEquals "some text"

toInclude

"some text" toInclude 't'

toNotInclude

"some text" toNotInclude 'a'