Skip to content

Commit

Permalink
Add scripts for converting a test plan from v1 to V2 format (#989)
Browse files Browse the repository at this point in the history
* Add scripts to convert a test plan from v1 to v2 format

* Add and revise support and commands JSON data

support.json:
* add strings to support screen reader settings and assertion tokens.
* Add URL data for ARIA and HTML-AAM specifications.

commands.json: Add all the command string representations necessary for the new V2 test format.

* Start work on making v2 references

* add references make to main

* add more references conversion logic

* Add design pattern reference conversion

* Revise htmlAam linkText

* Add a check for the availability of necessary v1 data.
  • Loading branch information
mcking65 authored Sep 20, 2023
1 parent 98a240f commit 5f904b9
Show file tree
Hide file tree
Showing 8 changed files with 1,114 additions and 0 deletions.
11 changes: 11 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@
"create-all-tests": "cross-var node scripts/create-all-tests.js --testplan=$npm_config_testplan",
"review-tests": "cross-var node --experimental-modules scripts/test-reviewer.mjs --testplan=$npm_config_testplan",
"update-reference": "node scripts/update-reference.js",
"make-v2": "node scripts/v2maker.js",
"prepare": "husky install"
},
"dependencies": {
"cross-var": "^1.1.0",
"csv-parser": "^3.0.0",
"csv-writer": "^1.6.0",
"fs-extra": "^11.1.0",
"json-beautify": "^1.1.1",
"minimist": "^1.2.8",
Expand Down
Loading

0 comments on commit 5f904b9

Please sign in to comment.