Re: Running a TestNG test suite from a wicket page

2013-12-04 Thread Martin Dietze
On Mon, December 02, 2013, Paul Bors wrote: Have you considered Mockito to mock your POJOs for the test data and methods? I use that in conjunction with TestNG and then start the wicket app providing it mocked DAOs and POJOs. I've got pretty strong feelings about such frameworks, bluntly

Re: Running a TestNG test suite from a wicket page

2013-12-02 Thread Paul Bors
Have you considered Mockito to mock your POJOs for the test data and methods? I use that in conjunction with TestNG and then start the wicket app providing it mocked DAOs and POJOs. On Sun, Dec 1, 2013 at 5:23 PM, Martin Dietze d...@fh-wedel.de wrote: On Sun, December 01, 2013, Martin Grigorov

Re: Running a TestNG test suite from a wicket page

2013-12-01 Thread Martin Dietze
On Sat, November 30, 2013, Martin Grigorov wrote: Usually when running (WicketTester) tests people provide mock implementations of the external services like MQ, DB, ... It is much easier to return some mock data, either good data or broken, to your application and verify that it behaves

Re: Running a TestNG test suite from a wicket page

2013-12-01 Thread Martin Grigorov
Hi, In this case you may want to use Selenium/WebDriver tests. Or any kind of robot that will execute your test scenarios against a running web application. In case you know/like JavaScript I'd recommend you: http://wicketinaction.com/2012/11/javascript-based-functional-testing/ We use such

Re: Running a TestNG test suite from a wicket page

2013-12-01 Thread Martin Dietze
On Sun, December 01, 2013, Martin Grigorov wrote: In this case you may want to use Selenium/WebDriver tests. Or any kind of robot that will execute your test scenarios against a running web application. I am using geb for frontend tests. However frontend tests do not really help when testing

Re: Running a TestNG test suite from a wicket page

2013-11-30 Thread Martin Grigorov
Hi, Usually when running (WicketTester) tests people provide mock implementations of the external services like MQ, DB, ... It is much easier to return some mock data, either good data or broken, to your application and verify that it behaves correctly in both situations. On Fri, Nov 29, 2013

Running a TestNG test suite from a wicket page

2013-11-29 Thread Martin Dietze
As in my project a number of resources are only available within the running web application (e.g. message queues and DB access are provided by the Glassfish application server), I would like to run a TestNG suite from a wicket page, thus allowing me to test pieces of the code that depend on those