NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
Milos Kleint Posted via mailing list.
|
Posted: Sun Jun 24, 2012 4:31 pm Post subject: Re: NB RCP, Maven Projects, and Functional Testing With Jelly Tools |
|
|
On Sun, Jun 24, 2012 at 2:18 PM, Wade Chandler
<address-removed> wrote:
| Quote: | All
I can get functional testing to work at the moment by putting the functional
tests into the application module of my NB RCP Maven Based project. However,
that means all the tests must reside in that project versus the specific
module, and what if I remove or add the module from certain builds or what
about independent feature development where perhaps some things are not
ready or are changing; seems a can of worms to have them all there, but
maybe I'm over thinking it. Currently, if I put the tests into a module
other than application I get a no class found exception on
org.netbeans.Main, and they fail. I did redefine the surefire plugin in my
individual module. Does anyone know how to get this going? Is there a
specific dependency I can add with <scope>test</scope> to make this work
like it does in application?
|
yes, the entire platform application most likely.. The application
project is the only one with teh overall picture and therefore the
only one providing a base for functional tests.
Additionally the <modules> set (what gets built) is most likely
irrelevant for these tests, it's what gets shipped in the application.
If you plan optional netbeans modules, use profiles to configure both
the dependency set and surefire configuration..
Cheers.
Milos Kleint
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|