protractor icon indicating copy to clipboard operation
protractor copied to clipboard

protractor suite option feature

Open chun2014 opened this issue 12 years ago • 5 comments

I read somewhere that protractor can specify suite option in its configuration file, I used something like

suites: { homepage: 'test/e2e/homepage/*.js' },

Then I run the suite with: protractor protractor.conf.js --suite homepage

But it didn't run any test, and says: 0 test, 0 assertions, 0 failures

chun2014 avatar Aug 08 '14 05:08 chun2014

It should be, protractor protractor.conf.js --suite=homepage

You missed the "=" sign

smahalingam avatar Aug 08 '14 13:08 smahalingam

@smahalingam , Thanks for your information. I tried with "=", but it still says "0 tests, 0 assertions, 0 failure". The suite won't run whether I use " " or "=".

chun2014 avatar Aug 08 '14 15:08 chun2014

The protractor version I use is Version 1.0.0-rc4.

chun2014 avatar Aug 08 '14 15:08 chun2014

If you post this question in StackOverflow, close this question issue, and paste the link here i'll happy to help!

elgalu avatar Aug 08 '14 15:08 elgalu

@elgalu Thanks for your suggestion. I have posted on StackOverflow, the link is http://stackoverflow.com/questions/25209253/protractor-suite-option-wont-run-any-test

Closing this one.

chun2014 avatar Aug 08 '14 17:08 chun2014