You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@netbeans.apache.org by Josh DeGeorge <jo...@rmanet.com> on 2021/12/17 21:16:49 UTC

Running NbModuleSuite from cucumber test

Hello,

Does anyone have any advice on how I use the NbModuleSuite to launch my NetBeans Maven application from a cucumber test step definition?

I was hoping I could use something like:

@Given("the user launches MetVue")
public static void launchMetVue()
{
   Test sampleTest = NbModuleSuite.createConfiguration(MetVueAppDefs.class)
         .enableClasspathModules(true)
         .gui(true)
         .clusters(".*")
         .honorAutoloadEager(false)
         .suite();

   sampleTest.run(new TestResult());
   boolean breakhere = true;
}

But I can't get it to launch the application.

Thanks in advice for any/all help!
~Josh

Joshua M DeGeorge
Software Developer
Resource Management Associates
1756 Picasso Avenue, Suite G
Davis, CA 95618
530-564-7043 (phone)
530-231-5323 (fax)