fix(curriculum): modify unit testing definition wording (#61777)

Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
This commit is contained in:
Karthik Bagavathy
2025-08-12 07:41:31 -05:00
committed by GitHub
parent 6adc98a426
commit 7ea96f8427

View File

@@ -7,7 +7,7 @@ dashedName: how-do-assertions-work-in-unit-testing
# --description--
You were first introduced to assertions and unit testing in a previous lecture. But as a review, unit testing is what you do when you write tests for units of code. Assertions are used to test that the code is behaving as expected.
You were first introduced to assertions and unit testing in a previous lecture. But as a review, unit testing is when you check the output of individual functions or components independently, in contrast with testing the final output of the entire program. Assertions are used to test that the code is behaving as expected.
In this lecture, we are going to take a closer look at assertions in unit tests and explore some best practices.