Skip to content

Adding Unit Tests to Yolov5 #7870

@JWLee89

Description

@JWLee89

Search before asking

From checking the past issues, it seemed like this was already proposed, but has been closed:
#407

Question

I was wondering if there will be any plans in the future to add unit tests using testing libraries such as pytest and add the associated github workflows to the CI / CD phase.

From my knowledge, it seems that the CI tests so far involve just running the scripts such as export.py, detect.py, train.py, etc. Furthermore, I think the tests will also serve as documentation to developers, allowing them to understand the behavior, input / output of each function.

Are there any plans in the future to write tests and add github workflows to improve visibility?

  • visibility in terms of ensuring that each feature is working as expected on the function level

Although this will likely take a long time, I think it will also save as much time if not more in the future if implemented effectively.

Additional

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions