##Summary
- Total Runs: 10
- Success Rate: 50.0%
- Failures: 3
- Errors: 2
- Skipped: 1
- Total time: Unknown
Result: FAIL
-
Given: we have x and y
-
And: some more things
-
When: I do crazy things
-
Then: I get one iteration pass and another fail
-
Where: The examples below are used
x | y |
---|---|
a | a |
b | c |
The following problems occurred:
- [b, c]
Condition not satisfied:
x == y
| | |
b | c
false
1 difference (0% similarity)
(b)
(c)
Result: PASS
-
Given: Setup block here
-
Expect: Expecting something ??
Result: PASS
-
When: This is the when
-
Then: This is the then
Result: IGNORED
-
Given: Nothing
-
When: Do nothing
-
Then: Nothing happens
Result: ERROR
-
When: An Exception is thrown
-
Then: Will never succeed
The following problems occurred:
java.lang.RuntimeException: As expected
Result: FAIL
-
When: Do nothing
-
Then: Test fails
The following problems occurred:
Condition not satisfied:
3 == 2
|
false
analysts write these too detailed overviews of what the test should be all about when what they really
should do is to let the details go in the body of the test using the Gherkin language which underlies BDD
and is proven to make it easier for all involved to understand what the test is doing, what the inputs are
and what the expected outcomes are in such a way that the best possible common understanding is reached
Result: PASS
- Expect: The long description above to look good in the report
Result: PASS
-
Given: ----
-
When: ----
-
Then: ----
Result: PASS
-
Given: nothing
-
Expect: 0 to be 0
-
And: An error if y is 5
-
Where: ----
x | y |
---|---|
0 | 1 |
Result: FAILURE
-
Given: nothing
-
Expect: 2 to be 0
-
And: An error if y is 5
-
Where: ----
x | y |
---|---|
2 | 3 |
The following problems occurred:
- [2, 3]
Condition not satisfied:
x == 0
| |
2 false
Result: ERROR
-
Given: nothing
-
Expect: 0 to be 0
-
And: An error if y is 5
-
Where: ----
x | y |
---|---|
0 | 5 |
The following problems occurred:
- [0, 5]
java.lang.RuntimeException: y is 5
Generated by Athaydes Spock Reports