J Generoso | 16 Apr 12:09 2014
Picon

[Cucumber] Dealing with multiple, more complex set of scenarios per feature (in Feature File)

Hi,

 

We’ve started looking at Cucumber, and so far used it in our simpler user stories (features).

 

We’re keen to continue using this on features having multiple, more complex scenarios – on system-level, with more data variation.

 

And although there are several ways to deal with this programmatically in StepDefs (e.g. scenario outline, multi-line strings, data tables, etc), would appreciate some advice on dealing with more complex scenarios.

 

How should these be designed or implemented in a Feature File?


Would it make sense to have several Feature Files per feature? Splitting closely-related scenarios in groups, with each group contained in a Feature File? (though this means fragmenting the behaviors of the feature, which could have potential disadvantages)

 

Please advice, thank you!

 

Jake

--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
alfred reynold | 16 Apr 08:08 2014
Picon

[Cucumber] [JVM][RUBY] Need help.. Is it possible to rerun the complete test cases again?

Hi, 
I have a scenario, I have a settings feature for my app, for every change in settings of my app I have to rerun all the test cases(feature files), so for every change in my app, I can test the functionality of the app.
Is it possible to restart test from beginning when all the tests finish? 
So at the end I could write few codes that would go and change the settings in my app and rerun the tests again??

--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Pete | 15 Apr 19:01 2014
Picon

[Cucumber][JS] HTML report using Cucumber-Html

Hi Guys,

I read a lot of article, topics etc, but could not find a solution how to use Cucumber-html as an HTML formatter for my tests. I have installed cucumber-html and now? There is no example whatsoever anywhere. Can you please share this info with me, since I'd like to generate html report with cucumber-js. (I'm using windows if it counts)

Thanks

--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
DanJoeMart | 15 Apr 18:41 2014
Picon

[Cucumber] Testing Network IPSec and Router Software Application Using Cucumber Advice

Hello,

I am trying to test a command line ran software application that acts as a simple router between Linux Machines that have the software running on it.  This application also builds IPSec tunnels between the connected nodes.  Anyhow, I am trying to use Cucumber as a regressive testing tool for this software application.  So far I have Cucumber calling bash scripts that does process checking and ensures the kernel modules are loaded on the local machine and it works.

Now I am seeking advice on the best way to test the command line options of this tool and also to test and basically make sure the tunnels are being built and the network is configured properly both locally and remotely?  Right now I am leaning toward using bash scripts again but I am hoping someone out there might be able to point me in a more clear/correct direction since I do realize Cucumber does work well with other testing tools as well.

Thanks,

Joe

--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
knoll2roll | 15 Apr 17:07 2014
Picon

[Cucumber] Unable to start a new browser for every scenario

Hi Guys,

I have a simple cucumber test which is using page objects.

I am starting up the browser and tearing it down using <at> PostConstruct and <at> PreDestroy.

But this is starting up the browser and then at the end of the test run it is, not tearing it down.
it only tears down the browser at the end of the WHOLE test run.

This is causing me problems, because if I use the <at> Before and <at> After cucumber hooks, then i am unable to use them as it throws a compilation error saying hooks cant be called into the step def file.

How do i get around this?

Any help would be great.

Kind regards,
Knoll

--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
aslak hellesoy | 15 Apr 16:25 2014
Picon

[Cucumber] Cucumber Limited: Our Business Plan

Hello everyone!

I just published a blog post about Cucumber Limited's business plan:

We're eager to hear what you think about this! Please use the comments on the blog.

Cheers,
Aslak

--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
shivi malviya | 15 Apr 11:28 2014
Picon

[Cucumber] [Cucumber-JVM] Gherkin syntax in eclipse plugin

Hi,
I have installed the new cucumber eclipse plugin from site :
http://cukes.info/cucumber-eclipse/

But I cannot see the following feature when writing feature file like :
- Navigate from step to stepdef
- Code completion
- Feature file highlighting

Are these features missing in the plugin. I have added all the dependencies in the pom.xml as well :
<dependency>
            <groupId>info.cukes</groupId>
            <artifactId>cucumber-java</artifactId>
            <version>1.1.4</version>
        </dependency>
        <dependency>
            <groupId>info.cukes</groupId>
            <artifactId>cucumber-core</artifactId>
            <version>1.1.4</version>
        </dependency>
        <dependency>
            <groupId>info.cukes</groupId>
            <artifactId>cucumber-picocontainer</artifactId>
            <version>1.1.1</version>
        </dependency>
        <dependency>
            <groupId>info.cukes</groupId>
            <artifactId>cucumber-junit</artifactId>
            <version>1.1.4</version>
        </dependency>
<dependency>
            <groupId>info.cukes</groupId>
            <artifactId>gherkin</artifactId>
            <version>2.12.2</version>
        </dependency>

Please suggest.

Thanks,
Shivi

--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Avinash Rao | 15 Apr 06:54 2014
Picon

[Cucumber] [cuke4duke] problem generating jason reports

Hi All,

I am trying to use jason, html  and pretty formater in my project but  jason formater is failing with message 

[INFO] no such file to load -- jason
[INFO] Error creating formatter: jason (LoadError)
[INFO] file:/home/apermude/.m2/repository/org/jruby/jruby-complete/1.5.6/jruby-complete-1.5.6.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
[INFO] file:/home/apermude/.m2/repository/org/jruby/jruby-complete/1.5.6/jruby-complete-1.5.6.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
[INFO] /home/apermude/.m2/repository/.jruby/gems/cucumber-0.10.7/lib/cucumber/constantize.rb:16:in `constantize'
[INFO] /home/apermude/.m2/repository/.jruby/gems/cucumber-0.10.7/lib/cucumber/cli/configuration.rb:75:in `formatter_class'


I am using cuke4duke maven plugin for executing feature file. Any info on how to get rid of this error  will be really helpful.

Thanks,

Avi

--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Alex Murray | 14 Apr 20:34 2014
Picon

[Cucumber] Testing structure - domain model vs user interface

Hello,

I'm pretty new to cucumber and I was wondering if there were any best practices established around structuring your tests to cover both the domain model and the user interface.

Here's what I've found so far:
1. The cucumber book says to test the domain model first, then switch to the UI through world extensions.
2. Some people seem to test the UI in cucumber and use RSpec for the domain model.
3. I've heard of people writing separate scenarios to test the domain model and the UI separately.

If someone has a good example, or can point me to some further reading, that would be really helpful.

Thanks!

Alex

--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
hai nguyen ngoc | 13 Apr 14:57 2014
Picon

[Cucumber] Do you know more step definition gem for cucumber except "Spreewald" gem

Hi, I am using "Spreewald" gem for my step definitions and it is so cool. And do you know more gem like this? 

Thank in advance.

--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Ina Lieder | 11 Apr 20:08 2014
Picon

[Cucumber] [JVM] Retry failed tests in jenkins

Hello,

we are using cucumber tests with a jenkins server to test a website.

If the tests run manually and separate (locally or on the server) they all pass.

But if Jenkins runs all scenarios there is always one witch mysteriously failed, because of a strange Selenium- behavior: by any one of 100 scenarios  Selenium is suddenly unable to click on any link.  And this scenario get failed. The next scenario, wich uses the same steps will pass. After many weeks of searching i did not find any solution for this strange case.

Also i thought there will be a solution to rerun only the failed tests on jenkins server and a way to ignore the first failed test-result ( to mark as failed only those scenarios, wich fails more then only one time).

Any ideas how to solve it?

we use cucumber(1.1.2 vers.) with selenium-firefox-driver(2.41) and Junit build with Maven.

Thank you,

Ina

--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.

Gmane