Back to Tsunami Security Scanner

How to name unit tests

docs/howto/new-detector/templated/appendix-naming-tests.md

0.2.0211 B
Original Source

How to name unit tests

Use condition_outcome as the naming schema for your tests. That explicitly means that you should not prefix the test function name with "test".

Example: whenVulnerable_returnsTrue.