wallaceh / cukeforker Goto Github PK
View Code? Open in Web Editor NEWLibrary to maintain a forking queue of Cucumber processes
License: MIT License
Library to maintain a forking queue of Cucumber processes
License: MIT License
Hi there,
You talk about optional VNC displays. Does this mean I can observe/interact with the same (headless?) browser that Cucumber uses by watching/pointing/clicking the browser through a VNC window?
As of Cucumber 2.0.0, the required path cucumber/runtime/features_loader
in lib/cukeforker/scenarios.rb
no longer exists as a path. All feature loading is handled in cucumber-ruby-core
.. see article. Are there any plans to update cukeforker to work with the latest version of cucumber? Or is there a work around for loading the feature files?
My company uses CukeForker along with Selenium Grid for automation testing, and loves it!
Recently, we are having trouble running Cucumber Scenario Outlines in parallel. Currently, it seems that CukeForker treats the Outline as a single scenario instead of expanding it to multiple Scenarios so it can be split up across workers.
What is the best way to achieve this? The call we are using right now is this:
CukeForker::WebDriver::Runner.run(
CukeForker::Scenarios.all,
{ :max => 10,
:format => :json,
:vnc => false,
:extra_args => %W[-p parallel]
})
The current cukeforker worker only supports a single report format. Multiple report formats are supported by cucumber and is a common use case.
I would like cukeforker to have a "fail fast" option so that the test suite can fail immediately after the first encountered test failure. All other queued and running tests will be skipped or aborted. This scenario is useful for both development and merge request test suite runs where one failure is sufficient for user feedback. In those situations, running the remaining tests wastes time and computational resources.
Scenario
and ScenarioList
classes don't appear to work with the new Cucumber 3.0
NoMethodError: undefined method 'reverse' for #<ScenarioList:0x0000000326c958>
/root/.bundler/ruby/2.3.0/gems/cucumber-core-3.0.0/lib/cucumber/core.rb:37:in 'compose'
/root/.bundler/ruby/2.3.0/gems/cucumber-core-3.0.0/lib/cucumber/core.rb:19:in 'compile'
/root/.bundler/ruby/2.3.0/gems/cucumber-core-3.0.0/lib/cucumber/core.rb:14:in 'execute'
/root/.bundler/ruby/2.3.0/gems/cukeforker-1.1.0/lib/cukeforker/scenarios.rb:23:in 'block in tagged'
/root/.bundler/ruby/2.3.0/gems/cukeforker-1.1.0/lib/cukeforker/scenarios.rb:20:in 'each'
/root/.bundler/ruby/2.3.0/gems/cukeforker-1.1.0/lib/cukeforker/scenarios.rb:20:in 'tagged'
/root/.bundler/ruby/2.3.0/gems/cukeforker-1.1.0/lib/cukeforker/scenarios.rb:10:in 'by_args'
I was able to get past that error by adding reverse and reduce methods to ScenarioList
but then I got the following error:
NoMethodError: undefined method `test_case_started' for #<Array:0x0055d284424058>
/root/.bundler/ruby/2.1.0/gems/cucumber-core-3.0.0/lib/cucumber/core/test/runner.rb:18:in `test_case'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.