google-code-export / gwt-test-utils

Automatically exported from code.google.com/p/gwt-test-utils
1 stars 0 forks source link

Provide a sample to test an MVP application #126

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The HelloMVP sample app from google tutorial is a good candidate to show people 
how to mock presenter, view and eventbus in order to test the results of the 
async methods.

Original issue reported on code.google.com by gael.laz...@gmail.com on 20 Mar 2012 at 5:33

GoogleCodeExporter commented 9 years ago
For the sake of evaluating, I created some simple unit test using 
gwt-test-utils and mockito for HelloMVP. if I have time I'll create a easy mock 
version as well but I'm not that good with easy mock.

https://github.com/anozaki/GwtHelloMvpTest

/src/main/java is pretty much untouched source from the download.

One thing I did notice at the view level is how much final methods there are 
that I want to verify.

Keep up the good work and THANK YOU for this project!

Original comment by ak...@netbrains.com on 16 Sep 2012 at 6:05

GoogleCodeExporter commented 9 years ago
Thank you very much Akito, this is great !

Original comment by gael.laz...@gmail.com on 18 Sep 2012 at 6:29