Skip to content
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

Can I cover all tests with cw_multi_test? #771

Closed
beatriz-web3 opened this issue Aug 7, 2022 · 1 comment
Closed

Can I cover all tests with cw_multi_test? #771

beatriz-web3 opened this issue Aug 7, 2022 · 1 comment

Comments

@beatriz-web3
Copy link

beatriz-web3 commented Aug 7, 2022

Hi,
I'm here for hear what you guys think about this topic

Recently, I wrote both unit test and integration test code.
Integration test codes are written with cw_multi_test.

After that, I thought that It seems like only cw_multi_test is enough for tests code.
If I have to maintain unittest code. It will make it difficult for us to make changes to the cosmwasm code.

Is it necessary to write a unit test code?
what do u think,,

@ueco-jb
Copy link
Collaborator

ueco-jb commented Aug 8, 2022

This is kind of riddiculous question.
Yes, you should write unit tests for things, that are difficult or can't be straightforward covered by multi tests.

@ueco-jb ueco-jb closed this as completed Aug 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants