Grails
  1. Grails
  2. GRAILS-6462

TestApp can't take fully qualified Test Class name

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.3.2
    • Fix Version/s: 1.3.5
    • Component/s: Testing
    • Labels:
      None

      Description

      While it is a great enhancement that Grails 1.3.x can now run individual testMethod in a test class, sometimes the convention of forcing user to drop the Test(s) from the class name is still a little too magical for my taste, and presents a small challenge to integrating with other build systems.

      For example,

      > grails test-app Foo.test123

      ... this works

      > grails test-app com.myco.Foo.test123

      ... this works

      but

      > grails test-app com.myco.FooTests.test123

      ... fails

      But the fully qualified name of the actual class is indeed com.myco.FooTests !

      In my humble opinion we need to support this case and thus I file it as a bug rather than an enhancement.

        Activity

        Hide
        Luke Daley added a comment -

        Putting to vote on dev list.

        Show
        Luke Daley added a comment - Putting to vote on dev list.
        Show
        Luke Daley added a comment - Done: http://github.com/grails/grails-core/commit/8a6aa1836c332af567cd010af26c1cbfcbf2c5a1

          People

          • Assignee:
            Luke Daley
            Reporter:
            Brian Guan
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development