Skip to content

Replace mockito with a mocking library that makes debugging failures easier #2678

@szokeasaurusrex

Description

@szokeasaurusrex

It is pretty difficult to deal with debugging failures from the mockito library, as it panics on failure. Also, it replies with a 501 error whenever one tries to hit it with a URL it does not have a response for, and this 501 often calls trycmd to fail.

Let's replace mockito with something which does not panic on failure. This way, we can assert the mocks and print out any errors, so that we can get the errors from both the mocking library and the trycmd/`assert_cmd` libraries. Right now, that is not possible

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions