Skip to content

Test Smell: it is a bad practice to mix test code with production code #161

@TestSmell

Description

@TestSmell

Hi!

We notice that you mix the production code and the corresponding test code into the same file.
For example,
image

In fact, it is a bad practice for code organization.
The best practice is to separate test code and production code and use a parallel folder structure to place them, respectively.
So, we kindly suggest you re-organizing your code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions