summaryrefslogtreecommitdiff
path: root/coverage/plugin.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/plugin.py')
-rw-r--r--coverage/plugin.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/coverage/plugin.py b/coverage/plugin.py
index fc95eeec..3e0e4836 100644
--- a/coverage/plugin.py
+++ b/coverage/plugin.py
@@ -89,6 +89,19 @@ class CoveragePlugin(object):
"""
_needs_to_implement(self, "file_reporter")
+ def find_executable_files(self, src_dir): # pylint: disable=unused-argument
+ """Yield all of the executable files in `src_dir`, recursively.
+
+ Executability is a plugin-specific property, but generally means files
+ which would have been considered for coverage analysis, had they been
+ included automatically.
+
+ Returns or yields a sequence of strings, the paths to files that could
+ have been executed, including files that had been executed.
+
+ """
+ return []
+
def sys_info(self):
"""Get a list of information useful for debugging.