Skip to content
项目

关于

Kotlin DSL for easier RxJava testing.

开发工具

这些数字如何统计

可以做什么

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

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文
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 :)

探索相关项目

加载中…