Skip to content

Assertions are not very verbose #4

@Altai-man

Description

@Altai-man
k 5 - GET /auth/register
    ok 1 - Status is acceptable
    not ok 2 - Body is acceptable
    # Failed test 'Body is acceptable'
    # at site#sources/5B90696EE156C43379D1D63343E6F36668CC6090 (Cro::HTTP::Test) line 223
    1..2

Ok, so my assertion is wrong, but... How? Something like "I expected body to match, but got this: ..." would make debugging of test cases easier. I understand that listing a whole body might be overwhelming, but having at least a flag to do so would help tremendously.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions