Closed ShaneHarvey closed 1 year ago
Note: I did this for the SDAM tests added in https://github.com/mongodb/specifications/commit/371e95b18f4783d485218bb1565970be10568e8a:
- 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.
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: