vishalm / behave_parallel_demo Goto Github PK
View Code? Open in Web Editor NEWbehave_parallel_demo
License: MIT License
behave_parallel_demo
License: MIT License
This isn't working:
/usr/bin/time behave --processes 5 --parallel-element scenario
results to:
usage: behave [options] [ [DIR|FILE|FILE:LINE] ]+
behave: error: unrecognized arguments: --processes --parallel-element scenario
0.19 real 0.06 user 0.04 sys
Hey @vishalm I've just tested this,
However I'm using behave with selenium webdriver, and whenever I call the execute_steps()
from a step definition file it fail with:
execute_steps() called outside of feature
And it works well when I dont use parallelization (without specifying the process
and parallel element
)
So it seems there is a bug with the execute_steps()
(calling steps from a single step) can you try to confirm please?
this is how I've been using the execute_steps()
:
@given('a "{role}" user')
def step_login_as(context, role):
"""
Login as a "user_type" step
"""
context.execute_steps(u'''
Given the user is in the login page
when the user logs in as "{0}"
Then the user should be redirected to the dashboard page
'''.format(role))
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.