Contributions
Re: Cucumber-Ruby 4.0.0 has been released
Can you please provide instructions for 'pretty'. The following used to work for me --format html > somefile.html. and I could monitor progress of the scripts by opening the html and refreshing it in my browser (with cucumber 3.0.0)4 years agoPlace Cucumber OpenCucumber Open5.1KViews0likes0CommentsRe: Cucumber-Ruby 4.0.0 has been released
Thank you, but... cat output.ndjson | cucumber-html-formatter > report.html /Users/douglas.maisells/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/optparse.rb:1614:in `[]=': wrong number of arguments (given 3, expected 2) (ArgumentError) from /Users/douglas.maisells/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/optparse.rb:1614:in `permute!' from /Users/douglas.maisells/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/optparse.rb:1635:in `parse!' from /Users/douglas.maisells/.rvm/gems/ruby-2.3.0/gems/cucumber-html-formatter-6.0.2/bin/cucumber-html-formatter:18:in `<top (required)>' from /Users/douglas.maisells/.rvm/gems/ruby-2.3.0/bin/cucumber-html-formatter:23:in `load' from /Users/douglas.maisells/.rvm/gems/ruby-2.3.0/bin/cucumber-html-formatter:23:in `<main>' from /Users/douglas.maisells/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:24:in `eval' from /Users/douglas.maisells/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:24:in `<main>'4 years agoPlace Cucumber OpenCucumber Open5.1KViews0likes2CommentsRe: Cucumber-Ruby 4.0.0 has been released
The other thing I noticed about the .html file in Cucumber 4.0.0. is it looks like the file is NOT written until ALL scenarios are complete. With Cucumber 3.0.0 and using the command syntax of ...--format html > somefile.html the html file used to be written as the script executed so a tester could follow along the progress of scripts, halting their execution if enough failures dictated that. This was especially important for a several hour suite to be able review what passed and failed already while the scripts continued to execute.4 years agoPlace Cucumber OpenCucumber Open5.1KViews0likes4Comments- 4 years agoPlace Cucumber OpenCucumber Open2KViews0likes0Comments
Re: Cucumber-Ruby 4.0.0 has been released
Vincent Thanks a lot for following up. Seems like a lot of functionality was lost and being a QA engineer of 27 years, I am like "What the heck happened?" Is there a QA team there which checks new releases of cucumber or is that left to community at large? I would love to be on a team that evaluates a beta version of a release since I love Cucumber and have not been fully convinced to jump ship to the rspec train.4 years agoPlace Cucumber OpenCucumber Open5.1KViews0likes1CommentRe: feature is coming up nil in query.rb
Aslak, If this is a bug, I can't believe no one has reported yet. Could you please provide the procedure for submitting a ticket. I use JIRA at work to log tickets and although we use github too, I unfamiliar with creating a ticket there. Please provide procedure.4 years agoPlace Cucumber OpenCucumber Open2KViews0likes1CommentRe: Cucumber-Ruby 4.0.0 has been released
I am using the new --format html --out somefile.html What happened to the pass/fail summary of the tests at the top; that was rather nice I use log "string".red and the colorize gem in my scripts yet the html does not translate the colored text Also I used to be able to specify just tags at a root directory level and it would search all folders and sub-folders for those tags for scripts to run. Now I must specify the exact file where the tags are located or up to one parent folder above. Why does the HTML output contain all the scripts that weren't selected via tags (true they are all grayed out but makes it hard to look for one scripts let's say of a file of 20 scenarios)4 years agoPlace Cucumber OpenCucumber Open5.2KViews1like8CommentsRe: feature is coming up nil in query.rb
I see that this latest version of Cucumber now requires you to specify the path to the file where any tags you specify are to search. It didn't used to work that way. You could just specify -t@tag_nameand it would search all feature files from your root folder for that tag. Am I missing some environment setting that was overwritten when I updated selenium-webdriver, cucumber, and capybara to name a few gems?4 years agoPlace Cucumber OpenCucumber Open2KViews0likes0CommentsRe: feature is coming up nil in query.rb
More information. I used to be able to at my root directory where I had a features/app_name directory I used to be able to run a script with # cucumber OS=xxx ENV=yyy -t@some_tag now I must use # cucumber OS=xxx ENV=yyy features/app_name/smoke/thefeature.feature -t@some_tag Is there something I need to set in my environment so that the first command works that it will search from the root folder for all feature files matching the tag?4 years agoPlace Cucumber OpenCucumber Open2KViews0likes4Commentsfeature is coming up nil in query.rb
I recently updated a bunch of gems including Chromedriver, cucumber, capybara, selenium-webdriver. Everything was working fine before. Now I get the following error. The token (feature is undefined).... undefined method `tags' for nil:NilClass (NoMethodError) ../.rvm/gems/ruby-2.3.0/gems/cucumber-gherkin-13.0.0/lib/gherkin/query.rb:19:in `update_feature' def update_feature(feature) store_nodes_location(feature.tags) feature.children.each do |child| update_rule(child.rule) if child.rule update_background(child.background) if child.background update_scenario(child.scenario) if child.scenario end end2KViews0likes5Comments