Integration Testing Model/View/Presenter

15 views
Skip to first unread message

Detlef Brendle

unread,
Sep 4, 2014, 2:37:06 PM9/4/14
to gwt-pecti...@googlegroups.com
Hi,
Im new to pectin and have written a little app that uses pectins MVP.
My Model is straight forward with some validations included.
My Presenter does the binding between Model and View including enabling/hiding of elements.
The View again simply contains elements in tables/Grids.

Now I would like to write a Unit test, that tests the view behaviour depending on a specific model value.
The test case would test the binding logic within my Presenter.

I thought about Mockito and also found GwtMockito, but with both I was not able to succeed my plans.

Has anybody got a sample how this is possible ? Or is this not possible at all for some reason ?


Thanks,
Detlef

Andrew Pietsch

unread,
Sep 4, 2014, 7:00:54 PM9/4/14
to gwt-pecti...@googlegroups.com
Hi Detlef,

I'm not actively developing Pectin any more.  Now days I normally recommend you checkout http://www.tessell.org/.  It has bindings similar to pectin plus a whole lot more.

Cheers


--
You received this message because you are subscribed to the Google Groups "GWT Pectin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gwt-pectin-disc...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages