vendredi 21 août 2020

How to pass in custom parameter for running tests on particular env

I am running my tests using - .testcaferc.json file and command that I am using to run is : node node_modules/testcafe/bin/testcafe

I want to pass an additional parameter for running my different tests on different environments. When I tried to add that parameter in command: node node_modules/testcafe/bin/testcafe production then I am not able to it as it consider them as tests.

Please let me know how can I handle this.

Aucun commentaire:

Enregistrer un commentaire