Griffon
  1. Griffon
  2. GRIFFON-620

GriffonTestTypeSupport has a hardcoded path for test classes

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.3.0
    • Component/s: cli
    • Labels:
      None
    • Number of attachments :
      0

      Description

      From the following blog post http://thesolidsnake.wordpress.com/2013/01/27/mengatasi-kegagalan-menjalankan-test-app-dari-luar-direktori-proyek/

      The code

      protected File getSourceDir() {
        if (!sourceDir) {
          sourceDir = new File("test/$relativeSourcePath") // TODO: remove this hardcoding of 'test/'
        }
        sourceDir
      }
      

      does not place nicely when the project's basedir is changed to a different location using -Dbase.dir

        Activity

        Show
        Andres Almiray added a comment - Fixed with https://github.com/griffon/griffon/commit/df8f7aed17c77fdc81ba7f7db4b167a582b26992

          People

          • Assignee:
            Andres Almiray
            Reporter:
            Andres Almiray
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: