eric7/Testing/Interfaces/TestExecutorBase.py

branch
unittest
changeset 9089
b48a6d0f6309
parent 9070
eab09a1ab8ce
child 9192
a763d57e23bc
--- a/eric7/Testing/Interfaces/TestExecutorBase.py	Fri May 20 11:31:18 2022 +0200
+++ b/eric7/Testing/Interfaces/TestExecutorBase.py	Mon May 23 16:48:19 2022 +0200
@@ -150,6 +150,22 @@
         
         return {}
     
+    def hasCoverage(self, interpreter):
+        """
+        Public method to get the test framework version and version information
+        of its installed plugins.
+        
+        @param interpreter interpreter to be used for the test
+        @type str
+        @return flag indicating the availability of coverage functionality
+        @rtype bool
+        @exception NotImplementedError this method needs to be implemented by
+            derived classes
+        """
+        raise NotImplementedError
+        
+        return False
+    
     def createArguments(self, config):
         """
         Public method to create the arguments needed to start the test process.

eric ide

mercurial