I use JUnit for unit testing with T5 services, and TestNG for (smoke)
integration testing my apps with URLs.

All my JUnit test classes inherited from BaseIntegrationTest (
https://gist.github.com/dmitrygusev/6672859),
all TestNG classes inherited from a copy of SeleniumTestCase with with this
patch applied:
https://issues.apache.org/jira/browse/TAP5-2107

Which is something you may already read while browsing the web.

Do you have any problems with this?


On Mon, Sep 23, 2013 at 7:02 PM, Martin Kersten <martin.kersten...@gmail.com
> wrote:

> I want some real hands on experiences. So please if you have any please
> provide.
>
> I am currently reworking the testing settup since the maven stuff is to
> slow for my program test cycle.
>
> Since I wont use testng I need to rewrite some test code. I need to do unit
> testing in java
> since I program in java. Integration test and Acceptance test may be done
> in groovy
> but I am in doupt this would be such a gain.
>
> Well the unit testing I want to elaborate the IOC directly using only a
> fraction of the
> services the application is about. The IOC setup seams to be fairly fast so
> it is ok
> (Hibernate takes way longer)
>
> I use a embedded jetty for the integration testing with a presetup in
> memory database (h2).
>
> I dont use mvn jetty:run since it is dead slow with all the dependency
> setup and stuff.
>
> So in the end I want to hear what you use for testing, what speed means and
> if you
> use IOC, jetty or something else.
>
>
> And yes I searched the web high and low, I want just personal experiences
> with
> the background of embedding either a web application server or an IOC.
>
>
> Cheers,
>
> Martin (Kersten)
>



-- 
Dmitry Gusev

AnjLab Team
http://anjlab.com

Reply via email to