Tuesday, 15 January 2013

javascript - Node command doesn't execute asterisk path -


I have a folder test / automation that has many test cases, e.g. A.js, b.js, c.js, etc.

I am using WebdriverJs Selenium. I use this command to perform all the tests in this folder:

  node test / ** / *. Js  

but only a.js was executed and then it did. Know any reason? Is there something wrong with that? Thank you

You must declare that server.js in JS for example:

  Required ('Express'), bodyParser = requires (' body-parser '), module = required (' ./module/a '), moduleb ='. / Modules / b ')  

No comments:

Post a Comment