Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DAFFODIL-1911

Move daffodil-cli tests to use sbt's "integration" test capabilities

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.0
    • Component/s: Infrastructure
    • Labels:
      None

      Description

      CLI tests take a long time to run, so by default we do not aggregate the daffodil-cli project so that they are no run when you run sbt test. However, this leads to some bad side effects (e.g. cli stuff not compiling by default, weird behaviors with sbt clean not cleaning daffodil-cli). We want to enable aggregation, but there's not way to disable the a single command (test) for a single subproject (daffodil-cli).

      However, SBT has an "integartion test" concept, where you can put tests in src/it/{scala,java,resources} and they will only be run via sbt it. This would be a good way to reenable aggregation of daffodil-cli, but prevent CLI tests from running with sbt test. Need to confirm that this works as expected and that we can maintain the sbt debug capabilities

        Attachments

          Activity

            People

            • Assignee:
              slawrence Steve Lawrence
              Reporter:
              slawrence Steve Lawrence
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: