summaryrefslogtreecommitdiff
path: root/src/cz/crcs/ectester/reader/test/Test.java
Commit message (Collapse)AuthorAgeFilesLines
* Split test package into common.J08nY2017-11-101-217/+0
|
* Introduce Result.Value.ERROR.J08nY2017-11-051-1/+1
| | | | | - Value.ERROR is used when response.error() is true. - Value.ERROR is NOK.
* Implement Result.ExpectedValue to add more logic to test evaluation.J08nY2017-11-051-17/+21
| | | | | | | | | | | | | | | | | | | | | - 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.
* Add some more compound tests and suite descriptions.J08nY2017-10-261-6/+6
|
* Introduce a Result class, that has a value and a cause.J08nY2017-10-251-35/+47
|
* Simplify test contract.J08nY2017-10-251-21/+14
|
* Add Compund test to test-vectors suite.J08nY2017-10-251-0/+39
|
* Fix output when missing output format option.J08nY2017-10-241-1/+6
|
* Implement a basic XMLOutputWriter.J08nY2017-10-161-4/+5
|
* Refactor response and test outputing into separate writers.J08nY2017-10-151-7/+14
| | | | | This is done to provide multiple output formats, one which logs tests to console in simple human readable format and others.
* Abstract out Test and move its simple implementation to Test.Simple.J08nY2017-10-151-52/+123
| | | | | - Also create a Test.Compound nested static class that can combine multiple Tests and their Results, and has a single Result.
* Reorganize reader packages.J08nY2017-10-131-0/+85