Unless you can reference the richfaces plugin code itself, there is no way to do this currently, since the plugin sources need to be available to the test-runner (like using any other library in a test.)

If the richfaces plugin were deployed in a maven repository, you could include it in your pom, specifying <scope>test</scope>.

Otherwise, not possible at the moment because plugins are loaded by JBoss modules, and jboss modules is not used by the test harness (because it would not really be possible)

~Lincoln

On Fri, Jan 27, 2012 at 2:06 AM, Richard Kennard <richard@kennardconsulting.com> wrote:
Hi guys,

Can someone help with RichFaces testing? Currently in...

    org.jboss.forge.scaffold.faces.FacesScaffoldTest.testGenerateFromEntityWithRichFaces()

...I have a commented out line...

    Project project = setupScaffoldProject();
    // getShell().execute("richfaces setup");

How can I make that line work? How can I get the plugin installed for my test?

Regards,

Richard.
_______________________________________________
forge-dev mailing list
forge-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-dev



--
Lincoln Baxter, III
http://ocpsoft.com
http://scrumshark.com
"Keep it Simple"