mercredi 21 octobre 2015

Parameterizing Environments in Protractor

I am looking to parameterize the baseURL to run in several different environments, like "local," "dev" "test" "prod" etc. I can think of two ways of doing this.

  1. Pass the baseURL param at run time.
  2. Create a separate GULP task for each baseURL.

I think I want to go with option #2 but wanted to check with some others on this.

Thanks, Tyler

Aucun commentaire:

Enregistrer un commentaire