Skip to content

Modify all tests to panic instead of returning an error #444

Open
@hug-dev

Description

@hug-dev

Test functions (with #[test]) should ideally panic when there is an error instead of return a Result and using ?. That way it is easy to see which line exactly failed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    code healthIssues concerning overall code quality, safety and best practicegood first issueGood for newcomerssmallEffort labeltestingTask related to testing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions