Recently I was reading about the "new" Activities and Places framework that comes with the 2.1 version of GWT and after breaking my head trying to understand what's going on with this, a question appeard in my head. According with the official documentation about Activities and Places, this feature can be implemented in a MVP way and, at least in my understanding, that pattern helps in decoupling the different layers of the aplication. One side effect of that it's that the unit testing preccess is enhanced due to only it's needed perform some test to the Presenter layer. Seeing the examples of the "old fashion" way of MVP the unit testing proccess it's very straightforward, simply make a Mock for the Display interface and pass it to the presenter, but with the new Activities and Places way this is not clear to me, so the question it's:
How to unit test my Activities (Presenters in the old MVP way)? With unit test I mean JRE JUnit test, not GWTTestCase. Thanks! -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
