Foundry Fundamentals : Section 2 : Lesson 22 : Integration Testing #3290
Replies: 2 comments
-
I feel like that basically sums up what unit and integration tests fundamentally do! (This made me understand the differences between the two tests better!) |
Beta Was this translation helpful? Give feedback.
-
Hello @SiegfriedBz, I think a more appropriate perspective is **Unit testing: ** Testing individual functions that make up a single contract to ensure that each function behaves appropriately and correctly does what it is meant to do when called. Integration testing: This involves testing the whole system to ensure our protocol behaves appropriately when there is interaction between different parts of our whole system. Please ask questions if anything is confusing. |
Beta Was this translation helpful? Give feedback.
-
Just to clarify my thoughts, is it correct that
?
Thanks !
Beta Was this translation helpful? Give feedback.
All reactions