Cucumber Error Creating Formatter Html
Contents |
Support Search GitHub This repository Watch 19 Star 23 Fork 28 cheezy/pretty_face Code Issues 19 Pull requests 3 Projects 0 Pulse Graphs New issue error creating formatter prettyface formatter html loaderror Invalid argument - While generating report using pretty_face #8 Closed anilreddy opened
Error Creating Formatter Slowhandcuke Formatter Loaderror
this Issue Jul 28, 2013 · 26 comments Projects None yet Labels None yet Milestone No milestone Assignees cannot load such file -- cucumber/ast/scenario No one assigned 4 participants anilreddy commented Jul 28, 2013 Hi Jeff, Please see the below screenshot. Owner cheezy commented Jul 28, 2013 @anilreddy can you please show the way you
Error Creating Formatter Cucumber
told cucumber you wanted to use pretty_face? anilreddy commented Jul 28, 2013 yep..!! here it is.. Owner cheezy commented Jul 28, 2013 Thanks. Can you tell me what operating system and version you are using? I am trying to reproduce the issue. anilreddy commented Jul 28, 2013 Ruby version is (ruby 1.9.3p429 (2013-05-15) [i386-mingw32]) and OS is Windows 8.1 Owner cheezy commented error creating formatter: json (errno::enoent) Jul 29, 2013 What version of RubyMine are you using? anilreddy commented Jul 29, 2013 here it is.. Collaborator cshotwell commented Jul 29, 2013 Could you try changing the line in cucumber.yml: default: --format PrettyFace::Formatter::HTML --out index.html to something like: default: --format PrettyFace::Formatter::HTML --out result/index.html I am curious to see if anything changes. anilreddy commented Jul 29, 2013 yup..tried..i am getting like this: No such file or directory - result/index.html Error creating formatter: PrettyFace::Formatter::Html (Errno::ENOENT) Process finished with exit code 1 Empty test suite. I tried creating result folder as well. But same Invalid argument error occurred Collaborator sahithya commented Jul 29, 2013 Hi Anil, We were able to reproduce the error you are getting when you try to specify a directory. The pretty_face gem needs to be updated to create a directory if a user specifies one. In the meantime, go ahead and create a directory called "results" and then run your tests. See if that helps. Sahithya anilreddy commented Jul 30, 2013 I have created a directory "results" and run the tests: same error: Invalid argument - results/C:\Users\Admin\RubymineProjects\Selenium Ruby\puppies\features\adopting_puppies.html (Errno::EINVAL) C:/Ruby193/lib/ruby/gems/1.9.1/gems/pretty_f
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this
Cucumber Error Creating Formatter: Html (errno::enoent)
site About Us Learn more about Stack Overflow the company Business Learn more
Error Creating Formatter Json Errno Eisdir
about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x cucumber formatter html Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Cucumber - https://github.com/cheezy/pretty_face/issues/8 Custom HTML Formatter Basics up vote 1 down vote favorite I'm looking to do something relatively simple with a custom cucumber html formatter which is to display the reports where the scenarios are collapsed by default instead of expanded. I have been using this reference as a starting point for implementation: https://github.com/cucumber/cucumber/issues/113#issuecomment-1997654 I have done the following: Copied the html.rb file to my features/support http://stackoverflow.com/questions/9464204/cucumber-custom-html-formatter-basics and renamed it my_html.rb Modified the before_steps method to use @builder << '' Altered the class definition within the file from Html to MyHtml Attempted to call the formatter using 'cucumber -d -f Cucumber::Formatter:MyHtml' but I get no such file to load -- cucumber:formatter:my_html Error creating formatter: Cucumber:Formatter:MyHtml (LoadError) so I try and specify the file itself but get the same error. I'm relatively new to cucumber and object orientation so my simple question is - how do I get this to work? I believe my environment is Ok I have an env.rb and hooks.rb file in the same features/support directory that are picked up ok. Also, once I get it to see where the file is, do I need to modify the require statements as those (relative) references don't exist under my features/support directory.. Thanks in advance format cucumber share|improve this question asked Feb 27 '12 at 11:24 user1158166 1114 As a troubleshooting step, you can run cucumber with the -v switch to display exactly which code files are getting loaded, so you can check that it is finding your formatter. Also posting some more code from y
from GoogleSign inHidden fieldsSearch for groups or messages
16, 2015 04:09 None Hi I recently upgraded to IntellijIdea 14.1.4 using Ruby plugin 7.1.0.20150617 and I am having the issue below when I try to run BDD feature from IntelliJIdea. I can run the cucumber BDD tests fine from command line. I am running Ruby version: ruby 1.9.3p551 (2014-11-13 revision 48407) [x86_64-darwin14.3.0] on MacOx Yosemite. Any idea how to fix the issue?Regards,AyacheError:/Users/akhettar/.rvm/rubies/ruby-1.9.3-p551/bin/ruby -EUTF-8 -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /Users/akhettar/.rvm/gems/ruby-1.9.3-p551/bin/cucumber /Users/akhettar/workspaces/inps/mhs-automation/features/critical.feature --format Teamcity::Cucumber::Formatter --expand --name "^Data insertion as a CRx user$" --color -r features Testing started at 05:00 ... WARNING: Nokogiri was built against LibXML version 2.9.0, but has dynamically loaded 2.9.1 WARNING > DEPRECATED: #default_wait_time= is deprecated, please use #default_max_wait_time= instead Running with TIME_OUT = 30 RUN_EVERYTHING = false TEST_ENV = http://liferay1.localhost.local:8080 BROWSER = firefox TEST_QUEUE_STOMP = activemq.localhost.local:61617 TEST_FABRIC = http://fabric1.localhost.local:9000 TEST_SOLR = http://solr.localhost.local:8983 wrong number of arguments (1 for 3) Error creating formatter: Teamcity::Cucumber::Formatter (ArgumentError) /Users/akhettar/Library/Application Support/IntelliJIdea14/ruby/rb/testing/patch/bdd/teamcity/cucumber/formatter_03103.rb:22:in `initialize' /Users/akhettar/.rvm/gems/ruby-1.9.3-p551/gems/cucumber-2.1.0/lib/cucumber/runtime.rb:209:in `new' /Users/akhettar/.rvm/gems/ruby-1.9.3-p551/gems/cucumber-2.1.0/lib/cucumber/runtime.rb:209:in `create_formatter' /Users/akhettar/.rvm/gems/ruby-1.9.3-p551/gems/cucumber-2.1.0/lib/cucumber/runtime.rb:202:in `block in formatters' /Users/akhettar/.rvm/gems/ruby-1.9.3-p551/gems/cucumber-2.1.0/lib/cucumber/configuration.rb:176:in `block in formatter_factories' /Users/akhettar/.rvm/gems/ruby-1.9.3-p551/gems/cucumber-2.1.0/lib/cucumber/configuration.rb:171:in `map' /Users/akhettar/.rvm/gems/ruby-1.9.3-p551/gems/cucumber-2.1.0/lib/cucumber/configuration.rb:171:in `formatter_factories' /Users/akhettar/.rvm/gems/ruby-1.9.3-p551/gems/cucumber-2.1.0/lib/cucumber/runtime.rb:201:in `formatters' /Users/akhettar/.rvm/gems/ruby-1.9.3-p551/gems/cucumber-2.1.0/lib/cucumber/runtime.rb:183:in `report' /Users/akhettar/.rvm/gem