NodeJS Client for Apache Ignite contains Jasmine tests to check the behavior of the client. the tests include:
(temporary, while the NPM module is not released on npmjs)
Tests are installed along with the client. Follow the instructions in the main readme.
Call npm test
command from local_ignite_path/modules/platforms/nodejs
folder.
Call npm run test:examples
command from local_ignite_path/modules/platforms/nodejs
folder.
It requires running Apache Ignite server with non-default configuration (authentication and TLS switched on).
If the server runs locally:
keystore.jks
and truststore.jks
certificates from local_ignite_path/modules/platforms/nodejs/examples/certs/
folder. Password for the files: 123456
If the server runs remotely, and/or other certificates are required, and/or non-default username/password is required - see this instruction.
Call npm run test:auth_example
command from local_ignite_path/modules/platforms/nodejs
folder.