You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Sebastien Brunot <sb...@ilog.fr> on 2006/11/09 17:21:26 UTC
Testing Mojos
Hi,
does anyone have a good documentation starting point regarding unit
testing and integration testing of mojos ?
Thanks for your help,
Sebastien
RE: Testing Mojos
Posted by Barrett Nuzum <Ba...@Valtech.com>.
Sebastien:
I don't think there is much mature info out there.
Unit testing should be easy -- MOJOs are, after all, POJOs, so any unit testing strategy should work very well.
If you want to have more in-depth testing, apparently the maven-plugin-testing-harness is designed to facilitate stubbing out and creation of test bases.
http://docs.codehaus.org/display/MAVEN/Maven+Plugin+Harness
Barrett
Barrett Nuzum
Consultant, Skill Development
barrett.nuzum@valtech.com
T: +1 (918) 640 4414
F: +1 (972) 789 1340
Valtech
5080 Spectrum Drive Suite 700 West
Addison, Texas 75001
USA
T: +1 (972) 789 1200
________________________________
From: Sebastien Brunot [mailto:sbrunot@ilog.fr]
Sent: Thu 11/9/2006 10:21 AM
To: Maven Users List
Subject: Testing Mojos
Hi,
does anyone have a good documentation starting point regarding unit
testing and integration testing of mojos ?
Thanks for your help,
Sebastien