codesnippets:testingconventions
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| codesnippets:testingconventions [2022/04/08 17:55] – [Modules] f2b216 | codesnippets:testingconventions [2025/10/08 00:48] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Testing conventions ====== | ====== Testing conventions ====== | ||
| - | ~~DISCUSSION~~ | ||
| ===== Setup with stack ===== | ===== Setup with stack ===== | ||
| Line 298: | Line 297: | ||
| * the complete set of possible test values/data is used in unit tests, | * the complete set of possible test values/data is used in unit tests, | ||
| * or values for all possible equivalence classes are used | * or values for all possible equivalence classes are used | ||
| - | * or ramdom | + | * or random |
| * independence: | * independence: | ||
| - | * test method is independent | + | * test methods are independent functions |
| - | * or dependent | + | * unless they depend |
| - | * boundaries: | + | * edge cases: |
| - | * corner | + | * edge cases are tested by unit tests (HUnit) |
| * conform doc.: | * conform doc.: | ||
| * all tests are conform to documentation, | * all tests are conform to documentation, | ||
| - | After checking the abovementioned | + | After checking the above mentioned |
| * < | * < | ||
| - | {- | + | {- * validated: ✅ |
| - | | + | |
| * completeness: | * completeness: | ||
| * independence: | * independence: | ||
| - | * boundaries | + | * edge cases : ✅ |
| * conform doc.: ✅ -} | * conform doc.: ✅ -} | ||
| tgUnitf1 :: T.TestTree | tgUnitf1 :: T.TestTree | ||
| Line 347: | Line 345: | ||
| After checking the abovementioned criteria, the result is documented as source code comment: | After checking the abovementioned criteria, the result is documented as source code comment: | ||
| * < | * < | ||
| - | {- | + | {- * validated: ✅ |
| - | | + | |
| * documented: ✅ | * documented: ✅ | ||
| * laws : ✅ | * laws : ✅ | ||
| Line 410: | Line 407: | ||
| </ | </ | ||
| + | |||
| + | ===== ✎ ===== | ||
| + | ~~DISCUSSION~~ | ||
codesnippets/testingconventions.1649433300.txt.gz · Last modified: (external edit)
