hurl icon indicating copy to clipboard operation
hurl copied to clipboard

improve --verbose option

Open lepapareil opened this issue 4 years ago • 3 comments

It would be useful if the verbose mode also displayed the details of the asserts and returns of the tests in success as it is for failed tests. This way we can also see the false negatives.

lepapareil avatar Jun 11 '21 10:06 lepapareil

Captures are logged in verbose mode, it makes sense to also log the successful asserts.

* Asserts
* jsonpath "$.count" equals {{count}}
*     actual: int <5>
*     expected: int <5>
* jsonpath "$.count" exists
*     actual:   int <5>
*     expected: something
* jsonpath "$.toto"  not exists
*     actual:   none
*     expected: not something
* jsonpath "$.errors" countEquals 5
*    actual:   5
*    expected: 5

fabricereix avatar Jun 19 '21 12:06 fabricereix

Simlilar to logging captures, source line numbers are not given.

* Captures
* an_object: Object()
* a_list: [1,2,3]
* a_null: null
* an_integer: 1

fabricereix avatar Jun 19 '21 12:06 fabricereix