Open karol-depka opened 4 years ago
Use env variables for host Use passing variables within the scripts with double dash.
@hvitis --
to pass also args from outside command-line, e.g. npm run test SOME_ARG1 SOME_ARG2
Note: the double dash that is meant here, is a standalone --
, not a --someThing
@hvitis could You help us with this?
Eg on npm test:all.
Extract common params into config file(s).
Call one script from another. Pass params from command line into scripts and between scripts.
Remove stuff like --screenshots (into config file) --speed (should be passed from command line adhoc if needed)