• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

artem-zinnatullin/RxKoans: (Experimental) set of excersices in for of unit tests ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

artem-zinnatullin/RxKoans

开源软件地址:

https://github.com/artem-zinnatullin/RxKoans

开源编程语言:

Kotlin 100.0%

开源软件介绍:

RxKoans

Purpose

Goal of this project is to reduce the steepness of the Rx (RxJava, RxSwift, Project Reactor, etc) learning curve.

It was noted by RxJava lead, David Karnok @akarnokd in this tweet:

I've been thinking about learning curves of RxJava and Coroutines lately, but I don't have enough experience with coroutine-based problem solving. Therefore, I have drawn the following comparison diagram to test my theory about their relative complexity in various topics:

Target Audience

RxKoans targets reactive juniors, middles and seniors.

  • Reactive Juniors:
    • We encourage you to go through all tiers slowly, starting with tier1
    • We encourage you to rely on Hints and use easiest and most natural ways of solving the Koans
    • Once you feel comfortable, we encourage you to check alternative solutions for same Koans that you've already solved, debug and understand them
  • Reactive Middles:
    • We encourage you to go through all tiers fast, starting with tier1
    • We encourage you to NOT rely on Hints and use easiest and most natural ways of solving the Koans
    • Once you feel comfortable, we encourage you to check alternative solutions for same Koans that you've already solved, debug and understand them
  • Reactive Seniors:
    • We encourage you to go through all tiers FAST, starting with tier1
    • We encourage you to NOT rely on Hints and use most ELEGANT ways of solving the Koans
    • Once you feel comfortable, we encourage you to submit your solutions if you find them more elegant

How to use

Structure

  • Koans are essentially unit tests where you need to provide implementation according to the "Task" so that the test passes.
  • Koans are split into "tiers" from 1 to n, where 1 means the easiest, the basics.
  • Koans can have multiple solutions, it's totally up to on how to implement them. There are however "hints" provided in each Koan.
  • Koans have multiple solutions provided in the repo so you could explore them, they're also used for tests on CI.

Steps

  1. Clone the repo
  2. Open the project in your favorite IDE/editor
  3. Navigate to koans/rxjava[other]/src/test/…/tier
  4. Open particular Koan and read through the Task defined in class Koan[n]Todo
  5. Try to implement the Koan according to the task using Hint and references to specific documentation
  6. Run the test in the Koan class either from IDE/editor or from Terminal like this: ./gradlew test --tests com.artemzin.rxkoans.rxjava.tier1.Koan6Test



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
gvoicu/koans-simplified发布时间:2022-07-10
下一篇:
kirkwood-cis-171-master/java-koans发布时间:2022-07-10
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap