Skip to content

Running Mocha Chai Tests for the JSDO

edselg edited this page Dec 13, 2018 · 2 revisions

Setup

  • 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

Notes:

  • 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.

Clone this wiki locally