Grails
  1. Grails
  2. GRAILS-7174

Fix functional-test build so it runs the tests against run-war

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.7, 1.4-M1
    • Component/s: None
    • Labels:
      None

      Description

      The functional-test plugin is not compatible with recent versions of Grails. In particular, the "grails functional-tests" target no longer works. "grails test-app functional:" does still work. For now, the functional-test build has been modified so it doesn't try to run the functional-tests target.

      1.4 branch: https://github.com/grails/grails-functional-tests/commit/c0ada73756c1d60ee7e48715c5e32ca8f5a6a032
      1.3 branch: https://github.com/grails/grails-functional-tests/commit/a6eeb425905a7463bb762d2d83e4918c5ace73e7

      This JIRA is a placeholder to make sure we get back to that.

        Activity

        Hide
        Luke Daley added a comment -

        Unsure if it helps, but you can pass ?-war? to test-app to have it war deploy the app for functional tests (as of Grails 1.3.5)

        Show
        Luke Daley added a comment - Unsure if it helps, but you can pass ?-war? to test-app to have it war deploy the app for functional tests (as of Grails 1.3.5)
        Hide
        Jeff Scott Brown added a comment -

        Luke, Yes, that might be just what we need. Will investigate.

        Thanks.

        Show
        Jeff Scott Brown added a comment - Luke, Yes, that might be just what we need. Will investigate. Thanks.
        Show
        Jeff Scott Brown added a comment - The functional tests are now run with "test-app functional:" and "test-app -war functional:" 1.3.7: https://github.com/grails/grails-functional-tests/commit/218bbe4391d40c1a5f8627237ac316b05376e265 1.4: https://github.com/grails/grails-functional-tests/commit/2f7be0a9004d7702148e8f3f9c905ca6850ac53e

          People

          • Assignee:
            Jeff Scott Brown
            Reporter:
            Jeff Scott Brown
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development