mercredi 3 juin 2020

only 1 file is ever executed under my tests/ folder for TestCafe

I have multiple test_*.js files underneath a /testcafe/tests/folder. When executing TestCafe from commandline OR via Visual Studio, only ONE file is ever executed....why would that be?

  • tests (folder)
    • test_somefilename.js
    • test_someOtherfilename.js
    • test_onlyfileexecuted.js
    • test_anotherfilename.js

When running the following command, only 1 of the files is ever executed:

testcafe <pathToTestFolder>/tests/*.js

this will only ever execute the file named test_onlyfileexecuted.js

WHY? I can manually type in the command to execute every single file and TestCafe works perfectly, but when doing glob pattern, that is the only tests found/executed....So Confused

Aucun commentaire:

Enregistrer un commentaire