Francois Wauquier
unread,Jul 27, 2009, 10:49:51 AM7/27/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gwt-mvc
Hello
I give an important place to the testability in the framework.
In an other hand, i take care about the methods and fields visibilty,
as it allows to focus on the important actions you can use, and avoid
to do the wrong ones.
I have noticed that sometimes, this two aspects are contradictory,
because the methods internally used must be visible to be mocked.
The compromise i have found and that i generally use, is that i kept
the methods with the lower visibility, but i increase the visibility
in concrete implementation class in the Poc, to test it.
That looks like a good compromise, because it kepts the framework
simple to use,
but i think it lose testability, as you must know how the framework
works to test your code, and wich methods you must 'show' to the
testCase.
Did you seen that?
Is there 'really' 2 ways to use a framework, one with tests, one
without ?