[forge-issues] [JBoss JIRA] (FORGE-462) JSFUnit/WebTest integration picks up wrong test class

Lincoln Baxter III (JIRA) jira-events at lists.jboss.org
Thu Jan 26 22:42:48 EST 2012


    [ https://issues.jboss.org/browse/FORGE-462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12662339#comment-12662339 ] 

Lincoln Baxter III commented on FORGE-462:
------------------------------------------

I think we can solve this by placing @Ignore on the test class, and removing @Ignore when we add it to the deployment.
                
> 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
>
> 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