New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
suite.T() no longer compatible with *testing.T (compatibility changed) #893
Comments
A small note, the master version of the documentation no longer reflects the behaviour https://godoc.org/github.com/stretchr/testify/suite#Suite.T:
|
If you submit a PR we can do a 1.5.1 release. |
I'd be happy, but I don't understand the direction in which suite's API goes. Shall I try to rollback the switch to interfaces in suite or is |
I know there was some discussion around this, but I don't recall the outcome, @boyan-soubachov do you remember? If I get a minute today I'll try to find the PR I'm thinking of. |
We should definitely revert #867 then. Excuse me, my mistake. Didn't realise that we return |
#894 created to revert this. Thorough reviews and feedback would be greatly appreciated 🙏 |
I believe this one was fixed with 1.5.1 |
Probably, following #867
In 1.5.0 the behaviour of
Suite.T()
has been changed in a backwards-incompatible way, even though the release notes say there are only non-breaking changes.Before 1.5.0
Suite.T()
returned*testing.T
while it returns customTestingT
interface now. So the code below is broken (note, the code is massively simplified from the real use cases):The text was updated successfully, but these errors were encountered: