Base branch coverage Sub branch coverage
In continuation of the test OTP scenario - https://github.com/ravichandranjv/TestOTP-A-leaner-version---semi-automated
Automated Mocha test using gulp/gulp-mocha to run on Express route to access a MongoDb document and validate the expectation of the mocha test. The gulp task watches the filesystem to the 'data.xml' file that contains the OTP value.
Sequence
- Run 'gulp' after starting mongod to listen on port 27017
- Open data.xml and save to trigger the gulp watch task
Watch for the next - "Automated to trigger test based on time/timestamp"