Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-462

JSFUnit/WebTest integration picks up wrong test class

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0.CR1
    • None
    • None
    • None

      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?

              lincolnthree Lincoln Baxter III (Inactive)
              kennardconsulting Richard Kennard (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: