[mistletoe] Wicket & Mistletoe
Ceki Gülcü
ceki at qos.ch
Tue Mar 30 20:33:55 CEST 2010
On 30/03/2010 8:07 PM, Pierre Goupil wrote:
> Good evening from France,
Good evening to you,
> Is there an example Mistletoe app available around here? It's hard for
> me to figure out what can be tested and how, with Mistletoe.
Under the $MISTLETOE/mistletoe-test folder you will find a
web-application which can be run tests either using the basic servlet
api or mistletoe-wicket, the latter as the name indicates depends on
wicket.
> In particular in the case of Wicket code to test, I guess you're not
> supposed to use Wicket tester, since it uses mocks, but the real app
> pages, am I right?
Mistletoe runs junit test suites within the deployed
web-application. We use it to run tests in our production environment
to see if the application is deployed correctly.
> So: what can be asserted? Wicket components, pages, HTML tags? Or more
> business-layer code?
Mistletoe is just a junit test suite runner. It does not come with
any assertions on its own. it does not provide any features beyond
what is available under junit, except that the tests are run from
within the web-app so that you have access to whatever the web-app has
access to.
HTH,
--
Ceki
More information about the mistletoe
mailing list