-
To run all the functional tests, in the runtime directory, run:
$ npm run test:func
-
To run only the smoke functional tests, in the runtime directory, run:
npm run test:funcsmoke
-
Build the Planner library. In the planner root directory run:
npm run build
-
Link the Planner library to runtime. Change directory to runtime and run:
npm link ../dist
-
Build the runtime using:
npm run build
The runtime is now available in the runtime/dist directory.
To run tests like those done in the CI run the following script in the Planner directory:
$ ./scripts/local_docker.sh
This script generates a docker image that you could use to run the planner within a container.
Optionally, you could also run the functional tests by passing functionalTests
as an argument to the above script:
$ ./scripts/local_docker.sh functionalTests