src/eric7/Testing/Interfaces/TestExecutorBase.py

branch
eric7
changeset 9313
6bac6775abb2
parent 9311
8e588f403fd9
child 9371
1da8bc75946f
child 9413
80c06d472826
diff -r 490f9539e535 -r 6bac6775abb2 src/eric7/Testing/Interfaces/TestExecutorBase.py
--- a/src/eric7/Testing/Interfaces/TestExecutorBase.py	Mon Sep 05 18:08:58 2022 +0200
+++ b/src/eric7/Testing/Interfaces/TestExecutorBase.py	Tue Sep 06 13:39:18 2022 +0200
@@ -60,6 +60,7 @@
     testFilename: str  # name of the test script
     testName: str  # name of the test function
     testMarkerExpression: str  # marker expression for test selection
+    testNamePattern: str  # test name pattern expression or list
     failFast: bool  # stop on first fail
     failedOnly: bool  # run failed tests only
     collectCoverage: bool  # coverage collection flag
@@ -163,6 +164,18 @@
         """
         return False
 
+    def supportsPatterns(self, interpreter):
+        """
+        Public method to indicate the support for test filtering using test name
+        patterns or a test name pattern expression.
+
+        @param interpreter interpreter to be used for the test
+        @type str
+        @return flag indicating support of markers
+        @rtype bool
+        """
+        return False
+
     def supportsMarkers(self, interpreter):
         """
         Public method to indicate the support for test filtering using markers and/or

eric ide

mercurial