3.1.29.2.7. waf_tools.mock.find_test_file

waf_tools.mock.find_test_file(self: task_gen) → Node | None

Find the test source file associated with the current target.

Scans self.source for a node whose name contains test_.

Returns:

The test source file node, or None if none is found.