unit_test
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| unit_test [2025/09/09 16:30] – plida | unit_test [2025/09/10 07:04] (current) – plida | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| Source: Software Testing course at ITMO university by Kochubeev Nikolay Sergeevich | Source: Software Testing course at ITMO university by Kochubeev Nikolay Sergeevich | ||
| + | |||
| ====== Unit tests ====== | ====== Unit tests ====== | ||
| - | Unit tests check individual units of software (be it functions, methods or classes) in isolation from the rest of the system. The goal is to ensure that every module works as intended. | + | Unit tests check individual units of software (be it functions, methods or classes) in isolation from the rest of the system. The goal is to ensure that every module works as intended. |
| + | |||
| + | ==== Concepts ==== | ||
| [[test_doubles|Test doubles]] are used to ensure Unit tests are truly isolated. | [[test_doubles|Test doubles]] are used to ensure Unit tests are truly isolated. | ||
| + | |||
| + | [[testing_factory|Factories]], | ||
| + | |||
| + | [[property-based_testing|Property-based testing]] is an approach to testing in which we test the properties of a function rather than individual examples. | ||
| + | |||
| + | [[data-driven_testing|Data-driven testing]] is an approach in which one test function is executed multiple times with different sets of input data. | ||
| + | |||
| + | [[fixture|Fixture]] is a defined and reliable context for the tests. | ||
| ==== Benefits ====== | ==== Benefits ====== | ||
unit_test.1757435412.txt.gz · Last modified: by plida
