Think simple to start with
- Else start itself would become too thoughtful rather than tangible.
Think Test first |
ARRANGE : Think about available dependencies, test doubles to mock dependencies. What you have and what you need to arrange before performing action smoothly.
ACTION: The behaviour aspect of your focus element of software under test (SUT). What need to be done to trigger the act to perform functions to receive desired outcome.
ASSERT: Verify the outcome in line of expectation. This step is ensure your test highlights and confirm the desired behaviour of your function by fail or pass.
Thank you!
Satender Kumar Mall
Twitter: @satenderiiit
No comments:
Post a Comment