Uploaded image for project: 'JBoss Developer Materials'
  1. JBoss Developer Materials
  2. JDF-650

Arquillian tests are always skipped in the archetype jboss-html5-mobile-archetype

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Done
    • None
    • None
    • archetypes
    • Hide

      1. Generate a project based on archetype jboss-html5-mobile-archetype available on https://github.com/jboss-developer/jboss-wfk-archetypes with version 2.5.0-build-SNAPSHOT and follow the README.md file

      2. Run the Arquillian tests:
      mvn clean test -Parq-jbossas-managed
      result: All tests are skiped

      Show
      1. Generate a project based on archetype jboss-html5-mobile-archetype available on https://github.com/jboss-developer/jboss-wfk-archetypes with version 2.5.0-build-SNAPSHOT and follow the README.md file 2. Run the Arquillian tests: mvn clean test -Parq-jbossas-managed result: All tests are skiped

    Description

      The arquillian tests are always skipped in the archetype jboss-html5-mobile-archetype regardless if any of the profiles:
      mvn clean test -Parq-jbossas-remote
      mvn clean test -Parq-jbossas-managed
      is activated.

      The problem is that the profile with id=default is always activated and in this profile is defined that the tests should be skipped. I would suggest to remove this profile, move the configuration of the maven-surefire-plugin into the "standard build section", set the property skipTests=true and rewrite this property to "true" in all profiles, where the tests should be run.

      Attachments

        Activity

          People

            rafabene_jira Rafael Benevides (Inactive)
            mjobanek Matous Jobanek
            Matous Jobanek Matous Jobanek
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: