Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Writing Tests for Flow and Mortar Apps

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.

like image 316
spierce7 Avatar asked Nov 24 '14 01:11

spierce7


Video Answer


1 Answers

There is u2020-mortar project which ports u2020 with use of Mortar and Flow. It has some test examples using Espresso.

like image 111
Kirill Boyarshinov Avatar answered Sep 27 '22 19:09

Kirill Boyarshinov