Automated tests for Captagent using Node JS and Mocha.
NOTICE: sudo
rights are required to spawn the agent and test sockets on interface any
npm install -g mocha
npm install hep-js
sudo npm test
This suite will initialized the compiled agent and check various command options for the agent (-v
-a
-c
).
sudo mocha init.js
This suite will test SIP and HEP features using the compiled agent, feeding it SIP and expecting HEP back.
sudo mocha hep.js