Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WORKAROUND kwarg custom_sentence in _get_match for working with outlines in hooks #554

Open
wants to merge 34 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
9362151
First version of lxc isolator without world restore is finished.
Feb 8, 2013
06c8d8d
Enabling lxc isolator in lettuce
Feb 8, 2013
9125611
Finished
Feb 11, 2013
8a395b2
Merge pull request #1 from uty/master
Feb 11, 2013
e0e3b18
little docstring added
Feb 15, 2013
b90c3db
Added options for selective file loading and file excluding
Feb 28, 2013
41111c6
Merge pull request #2 from uty/master
Feb 28, 2013
9d8839e
Added feature that allows to define .py files to load in first line o…
Mar 11, 2013
b5f7d5c
Improved files to load finding algorithm
Mar 12, 2013
27047b5
removed debug print
Mar 12, 2013
f563e74
Merge pull request #3 from uty/master
Mar 14, 2013
2288d7c
wrapped sys.stdout
Mar 18, 2013
22adea4
fixed terrain import
Mar 18, 2013
74ddf7f
Merge pull request #4 from uty/master
uty Mar 18, 2013
c675ca4
terrain is now imported from directory with feature file by default
Mar 19, 2013
493af33
Merge pull request #5 from uty/master
uty Mar 19, 2013
05c3d23
Fixed files to load search when base path is path to .feature file
Mar 19, 2013
960d8b2
Merge pull request #6 from uty/master
uty Mar 19, 2013
1a45932
removed debug info
Mar 19, 2013
4591cfc
Merge branch 'master' of github.com:Scalr/lettuce
Mar 19, 2013
7840711
Fixed files to load finding now parses feature file given in base path
Mar 19, 2013
1c15566
changed failfast behaviour now adding last failed step to list of ste…
uty Apr 2, 2013
ff60af6
Merge pull request #7 from uty/master
uty Apr 2, 2013
631eb2e
changed failfast behaviour now stops scenario execution instead of fa…
uty Apr 2, 2013
6af4d2a
Merge pull request #8 from uty/master
uty Apr 2, 2013
cf68fa7
sync with upstream
uty Apr 2, 2013
72a4cc1
Changed tag matching behaviour - now excluding tags have higher
Apr 29, 2013
af38849
Merge branch 'master' of github.com:Scalr/lettuce
Apr 29, 2013
f1cc8fa
Improved the way that time_took is shown - now always showing minutes…
Apr 29, 2013
17b902f
Added fallback to original functionality when feature dir have no
May 6, 2013
912019b
Fixed time displaying
May 7, 2013
6bddb6b
merge from upstream
Oct 15, 2013
66931fe
Merge pull request #9 from uty/master
uty Oct 15, 2013
3abb2e1
WORKAROUND Add custom_sentence kwarg to _get_match method for handlin…
Theramas Sep 13, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
changed failfast behaviour now stops scenario execution instead of fa…
…iling with exception
uty committed Apr 2, 2013
commit 631eb2e2d2347c2cf31841de679bb997c25662a6
13 changes: 11 additions & 2 deletions lettuce/core.py
Original file line number Diff line number Diff line change
@@ -463,7 +463,12 @@ def run_all(steps, outline=None, run_callbacks=False, ignore_case=True, failfast
steps_failed.append(step)
reasons_to_fail.append(step.why)
if failfast:
raise
# raise
return (all_steps,
steps_passed,
steps_failed,
steps_undefined,
reasons_to_fail)

finally:
all_steps.append(step)
@@ -1213,7 +1218,11 @@ def run(self, scenarios=None, ignore_case=True, tags=None, random=False, failfas
if self.background:
self.background.run(ignore_case)

scenarios_ran.extend(scenario.run(ignore_case, failfast=failfast))
scenario_run_results = scenario.run(ignore_case, failfast=failfast)
scenarios_ran.extend(scenario_run_results)
any_outline_failed = any(s.steps_failed for s in scenario_run_results)
if failfast and any_outline_failed:
break
except:
if failfast:
call_hook('after_each', 'feature', self)