OldSneerJaw / synctos-test-examples

Basic examples of synctos test cases

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

An example synctos project that demonstrates the basics of writing specifications/test cases using the built in testing utilities as originally referenced by the post Testing your Sync Gateway functions with synctos on the official Couchbase blog. Refer to the synctos 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 sync functions in the build directory: npm run build
  • Clean up all build artifacts: npm run clean

About

Basic examples of synctos test cases

License:MIT License


Languages

Language:JavaScript 100.0%