Added colorization of output and scenario setup functionality #14

Open
wants to merge 10 commits into from

1 participant

@khellan

I have added colorized output indicating success with green output and failure with red output. The color is returned to the default at the end.

I have also added support for scenario_setup run for each scenario if present to clear any states from earlier scenarios in the same feature test.

Hope this is useful.

Knut O. Hellan added some commits Oct 3, 2011
Knut O. Hellan Fixed teardown bug
The test for teardown looked for teardown/0, but attempted to call
teardown/1. This fix looks for teardown/1 as well
b9e2721
Knut O. Hellan Bugfix typo
Attempted to call a function in cucumber_parser. Corrected this to 
cucuberl_parser.
331e7b7
Knut O. Hellan Color coding output
Red for indicating failure
Green for indicating normal
983c509
Knut O. Hellan Ignoring test tmp dir and vi swp-files 7b2ec5d
Knut O. Hellan Feature scenario setup support
Add support for scenario_setup functions that is run at the beginning of
each scenario.
c65b27d
Knut O. Hellan Merge branch 'membase_original' into head_merge 60d43c4
Knut O. Hellan Add colorization
Add red color to the not implemented message
321d6a6
Knut O. Hellan Bugfix set default text color at the end a15244e
Knut O. Hellan Bugfix scenario setup
Keeps scenario setup result in State
32c197c
Knut O. Hellan New rebar from basho d3c3d50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment