This project provides a test case validator that can be run using npm. The validator checks the test cases in the specified directories to ensure they meet the required standards.
- Node.js
- npm
- Install the dependencies:
npm install
To run the test case validator, use the following command:
npm run validate -- [directory1] [directory2] ...
Replace [directory1]
, [directory2]
, etc., with the root paths of the directories you want to validate.
You can specify the paths to yaml files along with the extension in config.js
file
module.exports = {
// List of directories to search for test cases
testRootDirectories: ['./tests/mobile', './tests/api', './tests/web'],
// Extension of the test case files
testCaseExtension: '.manual.yaml',
}
npm run validate -- ./tests/mobile ./tests/api ./tests/web
This command will validate the test cases in the ./tests/mobile
, ./tests/api
and ./tests/web
directories.
This project is licensed under the MIT License.