Skip to content

Handle errors of endpoints calls better in tests #135

@LorenzoS92

Description

@LorenzoS92

Handle errors of endpoints calls better in tests.

Actually, if an endpoint return an error or a different response than the expected validateFunc, go runtime will panic.
Please review code of func runTestCases(t *testing.T, tests []TestCase) in main_test.go

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions