RxTest
RubyLichtenstein
273
Visit GitHub RepoTesting
kotlin Rx
kotlin-logo  rx-logo

RxTest - Kotlin DSL for easier RxJava testing.

Build Status codecov Codacy Badge Download Kotlin version badge License Gitter chat Android Arsenal

Main features

  • Clear tests: write clean, readable and simple tests in scala-test 'should style'.
  • Easy to extend: create custom matchers for complex test cases or just for more readable code.
  • Simple to use: same API as RxJava assertions you already know.

Example

Observable.just("Hello RxTest!")
    .test {
        it shouldEmit "Hello RxTest!"
        it should complete()
        it shouldHave noErrors()
    }

Documentation

Download

  • Gradle

dependencies {       
    testImplementation 'com.rubylichtenstein:rxtest:1.0.7'
}
  • Maven

<dependency>
    <groupId>com.rubylichtenstein</groupId>
    <artifactId>rxtest</artifactId>
    <version>1.0.7</version>
    <type>pom</type>
</dependency>

Mentions

androidweekly androidweekly

Bugs and Feedback

For bugs, questions and discussions please use the Github Issues.

Contribution

Welcome :)

Become a better Android Developer
Millions of developers are learning at MindOrks

Online Training Program

Featured Blogs

Our Team

MindOrks is Certainly one of the best online blog to stay on top of all the Android development news, coding and design patterns. Finally a blog I can count on to keep myself updated with latest and greatest things happening in Android world.

Vipul Shah
Android Developer
Microsoft

Become Pro in Android by watching videos

OUR LEARNERS WORK AT