devxoul/Drrrible

Unit tests using Quick and Nimble

wailaw opened this issue · 5 comments

I've read all your sample projects built with your RxMVVM architecture. I really love it. It's the most practical MVVM architecture in my opinion.

The sample projects are great. They've demo almost all situations in using RxSwift with MVVM.

I would now like to start my new projects with BDD and RxMVVM. However, I'm not sure what's the best way to write the tests in this case.

It'll be really appreciated if you can add some tests in BDD style in your sample projects.

Thanks for all the works!

@wailaw, thank for your interesting! I'm planning to write tests using RxExpect which makes it easy to test Observables. You can check RxTodo Tests to see how RxExpect looks like.

@devxoul Thanks for the suggestion! I've just gone through it. Is it possible to use RxExpect with Quick?

I haven't used like that but I think it's possible if you're using Quick for just defining behaviors and using RxExpect for assertion.

@devxoul Sorry for the late reply. Thanks so much! I'll check it and compare with my current code.