mongodb/specifications

Regenerate templated spec test files in Travis

ShaneHarvey opened this issue · 2 comments

Various spec tests are generated via scripts. We should integrate these scripts with Travis to validate that the template files have been updated correctly.

Examples:

Note: I did this for the SDAM tests added in 371e95b:

     - name: "JSON regeneration check"
-      dist: trusty
-      language: node_js
-      node_js:
-        - 12
+      dist: xenial
+      language: python
+      python:
+        - 3.7
       install:
         - npm install -g js-yaml
       script:
+        - python3 ./source/server-discovery-and-monitoring/tests/errors/generate-error-tests.py
         - cd source && make && git diff --exit-code

We should still do the same for the transactions and encryption tests.