parse-spec
v0.3.0
Published
Testing framework for Parse API migration
Downloads
28
Readme
parse-spec
Testing framework for Parse.com API migration
How to install
$ npm install -g parse-spec
How to use
$ parse-spec -c /path/to/api.json -b /path/to/build_dir trace
$ parse-spec -c /path/to/api.json -b /path/to/build_dir verify
Configuration
Write below information into config/api.json
{
"app_name": <Your Application Name>,
"endpoint": <Endpoint to be tested>,
"parse_endpoint": "https://api.parse.com/1/",
"app_id": <Your Application ID>,
"restapi_key": <Your Application REST API Key>,
"master_key": <Your Application Master Key>,
"classes": [
// Classe records stored in your Parse.com application
]
}
Build
$ npm run build
Usage for dev
First trace Parse.com API and migrated API.
$ npm run trace
Next verify API by comparing trace files.
$ npm run verify
LICENSE