-
Notifications
You must be signed in to change notification settings - Fork 374
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
Use jaekwon/testify
or stretchr/testify
#777
Comments
Let's go with the jaekwon one. We can just fork it over to gnolang/testify and use that. Please reassign if you need my input. |
FYI, I started experimenting in Gno with an even simpler API not relying on reflection: #928. |
I personally always found
In another project we had made a reduced assertions package with only 18 assertion functions. I thought it was useful as having less functions means So if we're deviating from stretchr/testify (I understand the current fork is to swap expected/actual, which always bothered me as well), we might also have it as a reduced subset we maintain in a small package in the repo. As for the Gno counterpart, I think a reduced subset makes sense. However, |
Note that |
Currently, we use 2 implementations of testify in our codebase - `jaekwon/testify` and `stretchr/testify` To streamline our practices and minimize confusion, it's a good idea to opt for a single implementation. After discussion, we all agreed on using `stretchr/testify` throughout our codebase. Closes #777
Currently, we use 2 implementations of testify in our codebase - `jaekwon/testify` and `stretchr/testify` To streamline our practices and minimize confusion, it's a good idea to opt for a single implementation. After discussion, we all agreed on using `stretchr/testify` throughout our codebase. Closes gnolang#777
Addresses gnolang#923 Addresses gnolang#777 --------- Signed-off-by: Manfred Touron <94029+moul@users.noreply.github.com> Signed-off-by: moul <94029+moul@users.noreply.github.com>
Codebase currently uses both of them, which is confusing because if I'm not wrong the only difference between the 2 is the expected vs actual order in methods.
The text was updated successfully, but these errors were encountered: