TreasureProject / treasure-marketplace-contracts

17 stars 9 forks source link

One test case should strive to test one invariant/post condition. Current test cases test too many things. #58

Closed ghoul-sol closed 2 years ago

fulldecent commented 2 years ago

I agree that more its could be used to separate testing.

ghoul-sol commented 2 years ago

That's true. We'll work on improvement for test readability in the future. On the bright side, test coverage is pretty good.

fulldecent commented 2 years ago

You're being modest... test coverage literally can't get any better than 100% which is what you have :-)