Our page script has full testing of each of our function groups through the files matching this pattern: src/mspec/data/lingo/pages/functions-*.json. Let's make a corresponding test file for each script spec, I made the first one here: src/mspec/data/lingo/scripts/functions_bool.json. Unlike the page spec, the script spec has corresponding test data: src/mspec/data/lingo/scripts/functions_bool_test_data.json. For each of the function groups, we'll need to make a new test file and test data file, and then also ensure they pass testing. Each function group corresponds to one of the src/mspec/data/lingo/pages/functions-*.json files, you can also find the matching groups in the script documentation.
Our python tests (tests/test_lingo.py) already cover all files in this directory, but you'll want to confirm they still pass, check the readme for the python cli testing instructions.
To do
- create new test files
- create new test data files
- confirm python cli tests are passing
Our page script has full testing of each of our function groups through the files matching this pattern:
src/mspec/data/lingo/pages/functions-*.json. Let's make a corresponding test file for each script spec, I made the first one here:src/mspec/data/lingo/scripts/functions_bool.json. Unlike the page spec, the script spec has corresponding test data:src/mspec/data/lingo/scripts/functions_bool_test_data.json. For each of the function groups, we'll need to make a new test file and test data file, and then also ensure they pass testing. Each function group corresponds to one of thesrc/mspec/data/lingo/pages/functions-*.jsonfiles, you can also find the matching groups in the script documentation.Our python tests (
tests/test_lingo.py) already cover all files in this directory, but you'll want to confirm they still pass, check the readme for the python cli testing instructions.To do