I am making some web applications for testing with Cucumber, and currently I have a few steps set up to work with Culerity. This works well, but there are times when it would be nice to keep the same stories in Selenium.
I see two possible approaches that may work:
- Writing each step so that it performs the step, respectively, depending on the value of some global variable.
- Having separate files for determining steps and somehow selectively, including the correct one.
What is the preferred method for doing this?
Kevin source share