Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-4549

Verify the correct spec suites are tested for serverless

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

      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 Unassigned
            Reporter:
            neal.beeken@mongodb.com Neal Beeken
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: