An example couchster project that demonstrates the basics of writing specifications/test cases using the built in test-fixture-maker module. Refer to the couchster README, test-fixture-maker module and validation-error-formatter module for more information.
Instructions:
- Download project dependencies:
npm install
- Validate document definitions and run test cases:
npm test
- Generate the validation functions in the
build
directory:npm run build
- Clean up all build artifacts:
npm run clean