I have the following scenario outline:Scenario Outline: Pressing buttonsGiven I push the <button> buttonThen I should see the <page> pageExamples:| BUTTON | PAGE || RED | Login || BLUE | Home || YELLOW | Logout || INFO | FAQ |I run this test on different devices. Some of these devices don't have support for certain buttons (may only have a red, blue and yellow button... but no info button). The real outline contains many more rows and columns in the example table.
Is there a way to filter out certain examples based on functional criteria?
I have access to the key map that is supported on the device running the tests so ideally I would filter out the examples that do not apply before the scenarios are built. Is that possible? It did not seem possible to access the example table at any point in the process.I look forward to any thoughts or recommendations.Cheers,Marc--
-- Rules --
1) Please prefix the subject with [Ruby], [JVM] or [JS].
2) Please use interleaved answers http://en.wikipedia.org/wiki/Posting_style#Interleaved_style
3) If you have a question, don't reply to an existing message. Start a new topic instead.
You received this message because you are subscribed to the Google Groups Cukes group. To post to this group, send email to cu...@googlegroups.com. To unsubscribe from this group, send email to cukes+un...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/cukes?hl=en
---
You received this message because you are subscribed to the Google Groups "Cukes" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cukes+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
I have the following scenario outline:Scenario Outline: Pressing buttonsGiven I push the <button> buttonThen I should see the <page> pageExamples:| BUTTON | PAGE || RED | Login || BLUE | Home || YELLOW | Logout || INFO | FAQ |I run this test on different devices. Some of these devices don't have support for certain buttons (may only have a red, blue and yellow button... but no info button). The real outline contains many more rows and columns in the example table.
Is there a way to filter out certain examples based on functional criteria? I have access to the key map that is supported on the device running the tests so ideally I would filter out the examples that do not apply before the scenarios are built. Is that possible? It did not seem possible to access the example table at any point in the process.
I look forward to any thoughts or recommendations.Cheers,Marc--
I'm confused. Cucumber-JS doesn't support Scenario Outlines yet:
On Thursday, 7 November 2013 at 21:53, Peter Fitzgibbons wrote:
HI Cukes, Aslak,I've been trying this, with the following :Scenario Outline: Simple TestWhen I am on the "<property>"Then I should see "Welcome"@LAExamples:| property | user || LATimes | TribTester |@CTExamples:| property | user || ChicagoTribune | TribTester |@SSExamples:| property | user || SunSentinel | TribTester |@OSExamples:| property | user || OrlandoSentinel | TribTester |When I run with this CLI, all Examples are still run.cucumber -t ~@LA -t ~@SS
Could you give me any ideas on what I'm doing wrong?Thanks and Kindest Regards,Peter Fitzgibbons
(847) 859-9550
Email: peter.fi...@gmail.com
IM GTalk: peter.fitzgibbons
IM AOL: peter.fi...@gmail.com
On Friday, 8 November 2013 at 12:32, Peter Fitzgibbons wrote:
Ahah! That worked.I also discovered that running a feature file with line-number selectors ( features/web_test.feature:8 ) seems to circumvent tag filtering. Does that agree with what you know?
Thanks for the help. This will be a huge benefit to my company's testing workflow.
- George
cukes+unsubscribe@googlegroups.com. For more options, visit this group
at https://groups.google.com/d/forum/cukes?hl=en
---
You received this message because you are subscribed to the Google
Groups "Cukes" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to cukes+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
----------------------------------------------------------------------
* George Dinwiddie * http://blog.gdinwiddie.com
Software Development http://www.idiacomputing.com
Consultant and Coach http://www.agilemaryland.org
----------------------------------------------------------------------
--
-- Rules --
1) Please prefix the subject with [Ruby], [JVM] or [JS].
2) Please use interleaved answers http://en.wikipedia.org/wiki/Posting_style#Interleaved_style
3) If you have a question, don't reply to an existing message. Start a new topic instead.
You received this message because you are subscribed to the Google Groups Cukes group. To post to this group, send email to cu...@googlegroups.com. To unsubscribe from this group, send email to cukes+unsubscribe@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/cukes?hl=en
--- You received this message because you are subscribed to the Google Groups "Cukes" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cukes+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
-- Rules --
1) Please prefix the subject with [Ruby], [JVM] or [JS].
2) Please use interleaved answers http://en.wikipedia.org/wiki/Posting_style#Interleaved_style
3) If you have a question, don't reply to an existing message. Start a new topic instead.
You received this message because you are subscribed to the Google Groups Cukes group. To post to this group, send email to cu...@googlegroups.com. To unsubscribe from this group, send email to cukes+unsubscribe@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/cukes?hl=en
---
You received this message because you are subscribed to the Google Groups "Cukes" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cukes+unsubscribe@googlegroups.com.
Hi,Bit late to the party but when I run my cucumberjs scenarios I get:Warning: Scenario outlines are not supported yet. See https://github.com/cucumber/cucumber-js/issues/10 Use --force to continue.Has this been implemented? I'm running 0.4.7
--
Posting rules: http://cukes.info/posting-rules.html
---
You received this message because you are subscribed to the Google Groups "Cukes" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cukes+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.