3 Replies Latest reply on Jan 26, 2015 7:55 AM by csa

    Running Tests

    cpuffalt

      Is it possible to run tests for a single Errai module?  I was making a modification in the errai-data-binding module and wanted to run the tests for that module only.

       

      I tried:

       

      cd errai-data-binding
      mvn clean test -Pintegration-test
      

       

      but I get:

       

      [INFO] --- maven-surefire-plugin:2.5:test (default-test) @ errai-data-binding ---
      [INFO] Tests are skipped.
      

       

      I also tried:

       

      mvn clean test -Pintegration-test -Dmaven.test.skip=false
      

       

      but with the same result.

       

      Thanks,

      Corey

        • 1. Re: Running Tests
          ddadlani

          Hello Corey,

           

          If you run the command:  mvn clean install -Pintegration-test

          in the directory of the Errai module, Maven will install and run the tests for that module only.

           

          Cheers,
          Divya

          1 of 1 people found this helpful
          • 2. Re: Running Tests
            cpuffalt

            Divya,

             

            Thanks for your response.  Is there anyway to run the tests without performing an install?  Normally tests are bound to the maven test phase?

             

            Corey

            • 3. Re: Running Tests
              csa

              You should be able to run: mvn clean integration-test -Pintegration-test.

              Cheers,

              Christian