Grails
  1. Grails
  2. GRAILS-4021

Running single unit test starts up integration testing as well

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 1.1-beta3
    • Fix Version/s: 1.1-beta3
    • Component/s: Testing
    • Labels:
      None

      Description

      A lot of times I'll run one test like this:

      grails test-app MyService

      ... and it will run fine. If MyServiceTests is a unit tests, the integration startup process will not start, so things go very fast. But now it seems like the unit test runs, then the test framework attempts to run integration tests, too, when there is no need to. This adds a lot of unecessary time to an otherwise quick feedback loop.

        Activity

        Hide
        Matthew Taylor added a comment -

        Meant to create this as a sub-task of GRAILS-787.

        Show
        Matthew Taylor added a comment - Meant to create this as a sub-task of GRAILS-787 .

          People

          • Assignee:
            Graeme Rocher
            Reporter:
            Matthew Taylor
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development