5 Replies Latest reply on Dec 3, 2007 11:57 AM by maxandersen

    TestNG fails

    hispeedsurfer

      Hi,


      I use RHDS CR1 to develop an Seam-2 EAR-project.

      I saw the problems using TestNG and JBoss Tools here: http://jira.jboss.org/jira/browse/JBSEAM-2129
      http://jira.jboss.com/jira/browse/JBIDE-1129, but need these tests urgently.

      Is there something what I can do get tests working?


      Thanks

        • 1. Re: TestNG fails
          maxandersen

          i'm waiting for the seam and mc team to do a release that fixes the issue.

          until then you can use seam-gen command line interface which will generate an .jar archive instead of running directly from a directory.

          • 2. Re: TestNG fails
            hispeedsurfer

            Hi Max,

            thank you for response.

            I greated this project within RHDS as Seam-Web-Project. So there is no build.xml file that I can use seam-gen command line interface.

            Is there an other possibility use command line interface?


            • 3. Re: TestNG fails
              maxandersen

              you need to create the project with command line seam-gen to get that additional level of packaging.

              • 4. Re: TestNG fails
                alessandrolt

                I have the same problem.
                My project was created with RHDS and all team received a copy for CVS, and started the development.

                I can't delete and override by a new project from command-line interface, the development has started.

                No exists other work around?

                • 5. Re: TestNG fails
                  maxandersen

                  No, not any simple ones - if there were I would put it in that jira.

                  Manually you can create a build.xml and mimic how they package the tests and run it as such.