| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Introduces a new enum Result.ExpectedValue, which is used to
signify what Test results are expected.
- Changes the Result.Value enum to contain information about what
was expected. It gains more values:
- UXSUCCESS -> Unexpected success.
- XFAILURE -> Expected failure.
The values SUCCESS and XFAILURE are the OK, values.
- Creates a hierarchy of evaluating Responses, Simple tests and
Compoung tests.
Simple test evaluates the OK property of the response object
(using .successfull() method) and again exposes its OK property
which depends on the tests ExpectedValue and the response
success.
Compound test evaluates the OK property of the Simple tests it
contains (using the .ok() method) and again exposes its OK
property which depends on the concrete Compound test variant,
but involves some ExpectedValues and the success of the individual
Simple tests it contains.
|