项目作者: OldSneerJaw

项目描述 :
Basic examples of synctos test cases
高级语言: JavaScript
项目地址: git://github.com/OldSneerJaw/synctos-test-examples.git
创建时间: 2017-03-20T02:00:48Z
项目社区:https://github.com/OldSneerJaw/synctos-test-examples

开源协议:MIT License

下载


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