Verify the correct spec suites are tested for serverless

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: Testing
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description

      Our serverless tests have a hardcoded list of mocha files to run that are the spec suites required by the serverless testing spec, we should add some kind of verification to this since changing a filename will not make the command fail it will silently not match on that changed file.

      Ex. mocha test1.js test2.js ... change test1.js -> test1.ts ... mocha command keeps working because at least one file (test2) matches the pattern.

      AC

      • Add verification to assert CI is running the tests required by the spec
        • Possibly use xunit output to verify runs of certain suites
      Related:

              Assignee:
              Unassigned
              Reporter:
              Neal Beeken
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: