otiai10 / mint

The very minimum assertion for Golang testing framework.

Home Page:https://pkg.go.dev/github.com/otiai10/mint

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Request for `FailNow()`

jromero opened this issue · comments

I'm looking for a way to stop execution at the first failed assertion.

In testify, this is achieved via require.

Would it be possible to have something similar in this library?

ie:

Require(t, subject).ToBe(expectation)

I like your idea, will do that