-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initialize test fixture from document definitions
- Loading branch information
1 parent
2a691a6
commit 4192339
Showing
3 changed files
with
9 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
An example [couchster](https://github.com/OldSneerJaw/couchster) project that demonstrates the basics of writing specifications/test cases using the built in test-fixture-maker module. Refer to the couchster [README](https://github.com/OldSneerJaw/couchster/blob/master/README.md), [test-fixture-maker](https://github.com/OldSneerJaw/couchster/blob/master/src/testing/test-fixture-maker.js) module and [validation-error-formatter](https://github.com/OldSneerJaw/couchster/blob/master/src/testing/validation-error-formatter.js) module for more information. | ||
|
||
Run `npm install` and `npm test` to download project dependencies and then execute the test cases. | ||
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` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters