Install dependencies
npm install
To run all tests
npm test
To run all tests in watch mode
npm run test:watch
To generate test coverage report
npm run test:coverage
For e.g. 10 days:
node test/texttest_fixture.js 10
You should make sure the command shown above works when you execute it in a terminal before trying to use TextTest (see below).
There are instructions in the TextTest Readme for setting up TextTest. You will need to specify the Javascript-Jest executable and interpreter in config.gr. Uncomment these lines:
executable:${TEXTTEST_HOME}/js-mocha/test/texttest_fixture.js
interpreter:node