-
Notifications
You must be signed in to change notification settings - Fork 27
Running Mocha Chai Tests for the JSDO
edselg edited this page Dec 13, 2018
·
2 revisions
- npm -g install mocha chai
- git clone https://github.com/progress/JSDO.git
- cd JSDO
- git checkout develop
- npm install
- npm run build:jsdo
- npm test (see notes)
- You can also run mocha from the command line
-
Test test/smoke.invoke.js uses a service that is not available publicly. As an alternative, you can run the following the tests individually:
- mocha test/smoke.jsdosession.js
- mocha test/smoke.jsdo.js
-
You can create your instance of the service using the Customer.cls Business Entity included in the test-services/Sports folder.
- DataSource API
- Starter Template Tutorial
- Using the JSDO component with plain HTML and JavaScript
- Using the JSDO and DataSource components with an existing NativeScript app
- Using the JSDO and DataSource components in an Angular web app (Angular-5.x)
- Using the JSDO and DataSource components in an Angular web app (Angular-6.x)
- Using the JSDO and DataSource components in a Node.js app