I was wondering if there were any examples of writing unit tests for Flow and Mortar Android apps. Part of the advantage of the MVP pattern that it offers the split of the presentation and view logic, and the presentation logic is what you want to write tests against. I was hoping I could see some samples of how people are doing this with Flow & Mortar, and what libraries they are relying on. It'd be great to establish some best practices.
Edit: It's worth noting that Google just released junit support for Android.
There is u2020-mortar project which ports u2020 with use of Mortar and Flow. It has some test examples using Espresso.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With