Key | Value |
---|---|
Hostname | affenschaukel |
Time | Fri Feb 5 10:30:55 2016 |
Command | /usr/local/bin/pherkin -o Html features/ |
Status | Count |
---|---|
Passed | 72 |
Failed | 1 |
Pending | 2 |
Skipped | 0 |
In order to check I've written the Calculator class correctly
As a developer I want to check some basic operations
So that I can have confidence in my Calculator class.
ok 1 - Starting to execute step: ok 2 - use Calculator; 1..2
ok 1 - Starting to execute step: a new Calculator object 1..1
ok 1 - Starting to execute step: having pressed 1 1..1
ok 1 - Starting to execute step: the display should show 1 ok 2 - Calculator display as expected 1..2
ok 1 - Starting to execute step: ok 2 - Calculator cleaned up 1..2
ok 1 - Starting to execute step: ok 2 - use Calculator; 1..2
ok 1 - Starting to execute step: a new Calculator object 1..1
ok 1 - Starting to execute step: having pressed 1 and 2 and 3 and . and 5 and 0 1..1
ok 1 - Starting to execute step: the display should show 123.50 ok 2 - Calculator display as expected 1..2
ok 1 - Starting to execute step: ok 2 - Calculator cleaned up 1..2
ok 1 - Starting to execute step: ok 2 - use Calculator; 1..2
ok 1 - Starting to execute step: a new Calculator object 1..1
ok 1 - Starting to execute step: having pressed 1 and 2 and 3 1..1
ok 1 - Starting to execute step: having pressed C 1..1
ok 1 - Starting to execute step: the display should show 0 ok 2 - Calculator display as expected 1..2
ok 1 - Starting to execute step: ok 2 - Calculator cleaned up 1..2
ok 1 - Starting to execute step: ok 2 - use Calculator; 1..2
ok 1 - Starting to execute step: a new Calculator object 1..1
ok 1 - Starting to execute step: having pressed 1 and 2 and 3 and + and 4 and 5 and 6 and + 1..1
ok 1 - Starting to execute step: the display should show 579 ok 2 - Calculator display as expected 1..2
ok 1 - Starting to execute step: ok 2 - Calculator cleaned up 1..2
ok 1 - Starting to execute step: ok 2 - use Calculator; 1..2
ok 1 - Starting to execute step: a new Calculator object 1..1
ok 1 - Starting to execute step: having keyed 5.0 1..1
ok 1 - Starting to execute step: having keyed + 1..1
ok 1 - Starting to execute step: having keyed 5.0 1..1
ok 1 - Starting to execute step: having pressed = 1..1
ok 1 - Starting to execute step: the display should show 10 ok 2 - Calculator display as expected 1..2
ok 1 - Starting to execute step: ok 2 - Calculator cleaned up 1..2
ok 1 - Starting to execute step: ok 2 - use Calculator; 1..2
ok 1 - Starting to execute step: a new Calculator object 1..1
ok 1 - Starting to execute step: having keyed 6 1..1
ok 1 - Starting to execute step: having keyed / 1..1
ok 1 - Starting to execute step: having keyed 3 1..1
ok 1 - Starting to execute step: having pressed = 1..1
ok 1 - Starting to execute step: the display should show 2 ok 2 - Calculator display as expected 1..2
ok 1 - Starting to execute step: ok 2 - Calculator cleaned up 1..2
ok 1 - Starting to execute step: ok 2 - use Calculator; 1..2
ok 1 - Starting to execute step: a new Calculator object 1..1
ok 1 - Starting to execute step: having keyed 10 1..1
ok 1 - Starting to execute step: having keyed * 1..1
ok 1 - Starting to execute step: having keyed 7.550 1..1
ok 1 - Starting to execute step: having pressed = 1..1
ok 1 - Starting to execute step: the display should show 75.5 ok 2 - Calculator display as expected 1..2
ok 1 - Starting to execute step: ok 2 - Calculator cleaned up 1..2
ok 1 - Starting to execute step: ok 2 - use Calculator; 1..2
ok 1 - Starting to execute step: a new Calculator object 1..1
ok 1 - Starting to execute step: having keyed 3 1..1
ok 1 - Starting to execute step: having keyed - 1..1
ok 1 - Starting to execute step: having keyed 10 1..1
ok 1 - Starting to execute step: having pressed = 1..1
ok 1 - Starting to execute step: the display should show -7 ok 2 - Calculator display as expected 1..2
ok 1 - Starting to execute step: ok 2 - Calculator cleaned up 1..2
ok 1 - Starting to execute step: ok 2 - use Calculator; 1..2
ok 1 - Starting to execute step: a new Calculator object 1..1
ok 1 - Starting to execute step: having successfully performed the following calculations not ok 2 - Test compiled # Failed test 'Test compiled' # at /usr/share/perl5/Test/BDD/Cucumber/Executor.pm line 338. # Can't locate object method "dispatch" via package "Test::BDD::Cucumber::StepContext" at features/step_definitions/calculator_steps.pl line 69. 1..2
1..0 # SKIP Short-circuited from previous tests
1..0 # SKIP Short-circuited from previous tests
ok 1 - Starting to execute step: ok 2 - Calculator cleaned up 1..2
ok 1 - Starting to execute step: ok 2 - use Calculator; 1..2
ok 1 - Starting to execute step: a new Calculator object 1..1
ok 1 - Starting to execute step: having entered the following sequence 1..1
1 + 2 + 3 + 4 + 5 + 6 - 100 * 13 === + 2 =
ok 1 - Starting to execute step: the display should show -1025 ok 2 - Calculator display as expected 1..2
ok 1 - Starting to execute step: ok 2 - Calculator cleaned up 1..2
ok 1 - Starting to execute step: ok 2 - use Calculator; 1..2
ok 1 - Starting to execute step: a new Calculator object 1..1
ok 1 - Starting to execute step: having keyed __THE_NUMBER_FIVE__ ok 2 - Passed in a word to map [__THE_NUMBER_FIVE__] ok 3 - Mapping found 1..3
ok 1 - Starting to execute step: the display should show 5 ok 2 - Calculator display as expected 1..2
ok 1 - Starting to execute step: ok 2 - Calculator cleaned up 1..2
ok 1 - Starting to execute step: ok 2 - use Calculator; 1..2
ok 1 - Starting to execute step: a new Calculator object 1..1
ok 1 - Starting to execute step: having added these numbers ok 2 - Passed in a word to map [__THE_NUMBER_FOUR__] ok 3 - Mapping found ok 4 - Passed in a word to map [__THE_NUMBER_FIVE__] ok 5 - Mapping found ok 6 - Passed in a word to map [__THE_NUMBER_ONE__] ok 7 - Mapping found 1..7
ok 1 - Starting to execute step: the display should show 10 ok 2 - Calculator display as expected 1..2
ok 1 - Starting to execute step: the display should show __THE_NUMBER_TEN__ ok 2 - Passed in a word to map [__THE_NUMBER_TEN__] ok 3 - Mapping found ok 4 - Calculator display as expected 1..4
ok 1 - Starting to execute step: ok 2 - Calculator cleaned up 1..2