TestedBy Maven Plugin

3 views
Skip to first unread message

Alessio Soldano

unread,
Dec 12, 2009, 8:37:58 PM12/12/09
to tested...@googlegroups.com
Hi,
the maven plugin for TestedBy is now available at
https://testedby.googlecode.com/svn/plugins/maven/trunk .
Here is an example of configuration that can be added to a project
pom.xml we want to use TestedBy on:

<plugin>
<groupId>it.javalinux.testedby.plugins</groupId>
<artifactId>maven-testedby-plugin</artifactId>
<version>@pom.version@</version>
<configuration>
<verbose>true</verbose>
<staleMillis>100</staleMillis>

<runnerClass>it.javalinux.testedby.runner.impl.JunitTestRunner</runnerClass>
</configuration>
<executions>
<execution>
<phase>process-test-classes</phase>
<goals>
<goal>testedby</goal>
</goals>
</execution>
</executions>
</plugin>

Of course the plugin is meant to be run once all the classes (including
tests) have been compiled; this means that you either need to run it at
the right time with a direct invocation ('mvn testedby:testedby') or
bind it to the process-test-classes as show in the example above (and
run maven till that phase, 'mvn process-test-classes').
Take a look at the it.javalinux.testedby.plugins.TestedByMojo for all
the available configuration parameters (includes, excludes, testedby
runner, etc.).

The TestedBy Maven Plugin sub-project has unit tests as well as an
integration test structure for for using the Maven Invoker Plugin to
call the TestedBy plugin itself and verify its results through BeanShell
scripts (see src/test/resources/test-embedded).
If you want to play with adding additional integration tests reproducing
complex usecases (the current one simply run the plugin from a clean
test project), that would be really appreciated.
Cheers
Alessio

Stefano Maestri

unread,
Dec 15, 2009, 5:24:52 PM12/15/09
to tested...@googlegroups.com
It would be great if this post become a page on our google code page.
I'm starting to work on an announcing post for the beta release (I think we are ready for that), and a page to link with some instruction to use testedby from maven would be more than welcome.

bye
S.


--

You received this message because you are subscribed to the Google Groups "testedby-dev" group.
To post to this group, send email to tested...@googlegroups.com.
To unsubscribe from this group, send email to testedby-dev...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/testedby-dev?hl=en.



Alessio Soldano

unread,
Dec 16, 2009, 4:24:15 AM12/16/09
to tested...@googlegroups.com
OK, fine with me. I can create a page on the website on our maven plugin in the next days.
Cheers
Alessio

Alessio Soldano

unread,
Dec 17, 2009, 3:43:25 PM12/17/09
to tested...@googlegroups.com
A brief wiki page on this topic is online at http://code.google.com/p/testedby/wiki/MavenPlugin
Cheers
Alessio
Reply all
Reply to author
Forward
0 new messages