mavdi / grunt-cucumberjs

Grunt plugin for cucumber.js
MIT License
31 stars 36 forks source link

Create different profiles to run tests #68

Closed Vovanchik closed 8 years ago

Vovanchik commented 8 years ago

I have several different environments local/staging/production where cucumber-js must be run.

Is it simple mechanism to define environments such a parameters baseUrl, seleniumAddress etc and run these tests from command line or I need to develop something own?

Vovanchik commented 8 years ago

Guys, could you please provide any information on my request?

gkushang commented 8 years ago

@Vovanchik it would be part of your framework as cucumber would not know about your environment.

Few suggestions would be,

An example would be,

NODE_ENV=stage grunt acceptance

OR

STAGE=xxxStage grunt acceptance

Hope this helps!

Vovanchik commented 8 years ago

I thought in the same direction.

Just to be sure that there are no solutions from the box.

Thank you