Comment #6 on issue 500 by pekka.klarck: Possibility to specify 'Workflow'
(or 'Scenario') for all tests to ease data-driven testing
http://code.google.com/p/robotframework/issues/detail?id=500
Martin, we aren't planning to touch the old syntax. The current data-driven
approach
simply uses keyword-driven style with only one keyword, the keyword-driven
approach
is the corner stone of the whole framework design. The idea is just to make
it even
easier than it's now to create those data-driven tests.
I'm not entirely happy with 'Workflow' or 'Scenario' either. My original
idea was to
call this setting 'Default Keyword' in the Setting table and
possibly '[Keyword]'
inside test cases, but I consider these too technical. 'DDT Keyword' is
similarly
pretty technical and it also requires you to know what 'DDT' means. My
current
favorite is still 'Workflow' as it makes the test data relatively clean
even if you
don't know the details of the syntax:
***Test Case***
Invalid login [Workflow] Login with invalid user name and password should
fail
${VALID USER} invalid password
invalid user ${VALID PASSWORD}
invalid user xxx
${VALID USER} ${EMPTY}
${EMPTY} ${VALID PASSWORD}
${EMPTY} ${EMPTY}
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings