Friday, 4 January 2019

idea to create a package, which prevents accidentally execute tests in the production environment

Hi everyone, I'm thinking of writing a package, which prevents executing tests in production. It may sound silly, but I have heard such incidents has happened in past.Although there are ways like preventing installing dev dependencies, I believe there can be a slip-up, (since we are humans).My target is mainly testing suits like 'Mocha', 'jasmine' and backend tests like integration tests or unit tests for microservice and other backend packages.I saw that 'mocha' runner can be identified by node_modules/mocha/bin/_mocha.I would kindly like to know thoughts and ideas about it. Thank you.

Submitted January 04, 2019 at 11:09PM by geeganage

No comments:

Post a Comment