[forge-issues] [JBoss JIRA] (FORGE-462) JSFUnit/WebTest integration picks up wrong test class
Lincoln Baxter III (JIRA)
jira-events at lists.jboss.org
Fri Jan 27 13:21:48 EST 2012
[ https://issues.jboss.org/browse/FORGE-462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lincoln Baxter III closed FORGE-462.
------------------------------------
Assignee: Lincoln Baxter III
Fix Version/s: 1.0.0.CR1
Resolution: Done
Fixed. Just add @Ignore at the class level of any scenario classes you create.
> JSFUnit/WebTest integration picks up wrong test class
> -----------------------------------------------------
>
> Key: FORGE-462
> URL: https://issues.jboss.org/browse/FORGE-462
> Project: Forge
> Issue Type: Bug
> Reporter: Richard Kennard
> Assignee: Lincoln Baxter III
> Fix For: 1.0.0.CR1
>
>
> In the new JSFUnit/WebTest integration, you have:
> JavaClass clazz = this.webTest.from(current, FacesScaffoldPetClinicTestClient.class);
> The tests all pass, but obviously FacesScaffoldPetClinicTestClient cannot be run directly. So it fails when JUnit discovers it independently. How do you stop Maven/Eclipse/JUnit picking up the FacesScaffoldPetClinicTestClient test?This should only be run by WebTest?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the forge-issues
mailing list