Kotlin DSL for easier RxJava testing.
kotlin | Rx |
---|---|
Observable.just("Hello RxTest!")
.test {
it shouldEmit "Hello RxTest!"
it should complete()
it shouldHave noErrors()
}
Components
dependencies {
testImplementation 'com.rubylichtenstein:rxtest:1.0.7'
}
<dependency>
<groupId>com.rubylichtenstein</groupId>
<artifactId>rxtest</artifactId>
<version>1.0.7</version>
<type>pom</type>
</dependency>
For bugs, questions and discussions please use the Github Issues.
Welcome :)