[QA] Best practices for long scenarios in Cucumber?
Željko Filipin
zfilipin at wikimedia.org
Wed Dec 18 15:41:10 UTC 2013
On Tue, Dec 17, 2013 at 10:26 PM, Jeff Hall <jhall at wikimedia.org> wrote:
> This works just fine, but it seems like a violation of the Don't Repeat
> Yourself (DRY) philosophy1]. Does anyone know if there is a more elegant
> way to construct a long Scenario in Cucumber?
I have already commented in the commit[1], but I will repeat here:
"The goal of feature file is communication. Lines 17-32 should be replaced
with something like "given I have edited the page three times"."
Željko
--
1: https://gerrit.wikimedia.org/r/#/c/102308/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wikimedia.org/pipermail/qa/attachments/20131218/dc80c3c1/attachment.html>
More information about the QA
mailing list