aboutsummaryrefslogtreecommitdiff
path: root/src/cz/crcs/ectester/reader/output/TextTestWriter.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Split test package into common.J08nY2017-11-101-4/+6
|
* Introduce Response.error variable.J08nY2017-11-051-1/+1
| | | | | | - Useful to discern a response containing failing SWs created by ECTester applet, or a response created by the card when ECTester execution failed.
* Fix some alignment issues.J08nY2017-11-051-2/+0
|
* Implement Result.ExpectedValue to add more logic to test evaluation.J08nY2017-11-051-16/+34
| | | | | | | | | | | | | | | | | | | | | - 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 output of commands to test-suite YAML and XML output.J08nY2017-11-011-1/+2
|
* Fix response output.J08nY2017-10-311-1/+1
|
* Introduce a Result class, that has a value and a cause.J08nY2017-10-251-1/+3
|
* Split ResponseWriter into separate class, introduce TestRunner.J08nY2017-10-251-0/+66