0

Cucumber lets you define profiles in a cucumber.yml file - which are essentially command line arguments that can be reused. Does anyone know if it's possible to accomplish the same with lettuce? And if so, how?

klementtt
  • 83
  • 1
  • 6

1 Answers1

0

Lettuce doesn't support profiles. There was an issue open about supporting arbitrary command line parameters but it was closed and apparently will not be implemented. Here's a link to the discusson (there's a workaround discussed there as well) Lettuce command line params

Tomasz Wszelaki
  • 652
  • 4
  • 2
  • Yup.. I actually saw [that](https://github.com/gabrielfalcao/lettuce/issues/68) but forgot to post an answer! I ended up using both sys.argv and the environment. Thanks! – klementtt Dec 10 '14 at 11:51
  • There's actually another BDD tool for python called bahave [(behave_on_github)](https://github.com/behave/behave) and it already supports command line arguments (in the master branch). The next release available on pip will have it (should be published in February) – Tomasz Wszelaki Jan 23 '15 at 11:08