thanks for the reply Siegfried, and sorry for using a pseudo, I'll change that at times.
Being new to integration testing, the difference between HtmlUnit and Webtest doesn't strike me. I suppose Webtest offers much more than HtmlUnit, but it's not obvious to a newcomer. I'm actually still only able to launch HtmlUnit because I don't know how to set useInsecureSSL in groovy. HtmlUnit is convenient because it's Java, so it's easy to launch HtmlUnit tests with Maven (+JUnit/TestNG). And right, I understand your plugin wraps the Ant invocation and allows Canoo Ant script based test to be integrated with the Maven lifecycle. It isn't necessary for Groovy test since they can be integrated and invoked with JUnit/TestNg. cheers Siegfried Goeschl wrote: > > Hi "nodje", > > +) WebTest uses HtmlUnit > > +) the M2 Plugin basically wraps the Ant invocation into a Maven plugin > to integrate it neatly into a M2 build - and it has nothing to do with > TestNG/JUnit > > +) Canoo WebTest originally was driven by Ant scripts (including the > possibility to run Groovy scripts from there) whereas the Groovy-WebTest > integration was added much later. So you have three different ways to > run webtests: Ant, M2, Groovy > > Cheers, > > Siegfried Goeschl > > nodje wrote: >> Hi Siegfried >> >> a few questions about the plugin: >> >> why does it use HtmlUnit? Is the Webtest library itself based on >> HtmlUnit? >> >> I'm not sure I understand what it does. >> Is it equivalent to use TestNG/JUnit to launch test? >> I use groovy script, so existing test frameworks offer a very good >> integration. But that's probably not possible with Ant script and that's >> were the plugin is useful right? >> >> >> >> Siegfried Goeschl wrote: >> >>> Hi folks, >>> >>> motivated by Felipe's blog I cut a new version to be downloaded from >>> http://people.apache.org/~sgoeschl/download/maven-plugins/webtest-maven-plugin/ >>> >>> Changes in this version include: >>> >>> New features: >>> o Added the PDF test (./src/test/it8) as described in Felipe Gaucho's >>> blog >>> (http://weblogs.java.net/blog/felipegaucho/archive/2009/11/18/testing-pdf-files-canoo-webtest-and-maven2). >>> Thanks to Felipe Gaucho. >>> >>> >>> Changes: >>> o Added more information what the integration tests are doing. >>> o Upgrading to HTMLUnit 2.6 to fix a known Javascript problem. >>> o Upgrading to the official Canoo WebTest 3.0 release which is now >>> available via maven repository. >>> The WebTest code does no longer have to be included in the plugin >>> which simplifies the build and reduces the plugin size. Thanks to >>> Christoph Lipp. >>> >>> >>> Have fun! >>> -webtest-maven-plugin-team >>> _______________________________________________ >>> WebTest mailing list >>> [email protected] >>> http://lists.canoo.com/mailman/listinfo/webtest >>> >>> >>> >> >> > _______________________________________________ > WebTest mailing list > [email protected] > http://lists.canoo.com/mailman/listinfo/webtest > > -- View this message in context: http://old.nabble.com/-ANNOUNCEMENT--webtest-maven-plugin-0.6.5-available-tp26417146p26506792.html Sent from the WebTest mailing list archive at Nabble.com. _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

