Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-859

DSpace Test supporting files get quickly out of date

    Details

    • Attachments:
      0
    • Comments:
      1
    • Documentation Status:
      Not Required

      Description

      Since the JUnit test suite keeps its own copy of the configuration with one minor change in dspace.dir, it would be wiser to improve the suite to get the resources for the original location and override dspace.dir as a system environmental variable.

      The DSpace Services Configuration Service handles this override of individual environmental settings and if the unit tests were rewritten to use the service manager, they would be capable of overriding this without needing a separate copy of dspace.cfg

      Likewise, recommend putting the resources found in the trunk/dspace dir into an artifact on the classpath such that they can be expanded into the test directory rather than keeping a copy floating around.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mwood Mark H. Wood
                Reporter:
                mdiggory Mark Diggory
              • Votes:
                2 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: