jeamland/behave — Issue #29: KeyError sometimes when using `behave --stop`
Author: eykd
Created: 2012-01-17 06:00:29+00:00
State: open

I'm not exactly sure what about my feature files is doing this. It might be that I have more than one feature with unimplemented steps. All I know is that at some point in writing my feature files, when I run `behave --stop`, I begin to get the following traceback:

Traceback (most recent call last):
File "/Users/deyk/code/py/shiny/bin/behave", line 5, in
main()
File "[...]/behave/__main__.py", line 78, in main
failed = runner.run()
File "[...]/behave/runner.py", line 386, in run
self.run_with_paths()
File "[...]/behave/runner.py", line 419, in run_with_paths
self.calculate_summaries()
File "[...]/behave/runner.py", line 446, in calculate_summaries
self.feature_summary[feature.status or 'skipped'] += 1
KeyError: 'untested'

Thanks otherwise for this great little bit of testing software. I've often been envious of my rubyist friends and their cucumbers.