-
Type: Improvement
-
Resolution: Unresolved
-
Priority: 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:
- Discovered in
NODE-3735