Skip to content

A Debug version without Testing dependency? #8

@lordofscripts

Description

@lordofscripts

It indeed has a very cool intuitive API. However, I noticed it relies on the testing.T package so it is meant for unit tests.

I thought such a useful library could be used for normal runs of the application (not just unit tests). So, not for testing my code but test the application user's input.

In this non-unit-test use case, it would also be nice to have the assert code conditionally compiled. For example only when debug is enabled. There as another assert Go library that is not for unit tests and is conditionally compiled, but it is definitely not as cool to use as this.

Any chance this could be updated?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions