Skip to content

Test Smell: it is not a good test practice to write return statement in test cases #25

Description

@TestSmell

Hi!

I notice you write a return statement in some test cases.
image
Although you return nothing, I would like to know why you write this statement since as far as I know, it is not a good practice to write a return statement in test cases.Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions