NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Re: NB RCP, Maven Projects, and Functional Testing With Jelly Tools

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Developers
View previous topic :: View next topic  
Author Message
Milos Kleint
Posted via mailing list.





PostPosted: Sun Jun 24, 2012 4:31 pm    Post subject: Re: NB RCP, Maven Projects, and Functional Testing With Jelly Tools Reply with quote

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

Quote:

Thanks much for any help,

Wade

--

=================
Software Engineer/Consultant
www.wadechandler.com

NetBeans Dream Team Member
www.netbeans.org
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Developers All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo