--- a/src/eric7/Testing/Interfaces/TestExecutorBase.py Fri Sep 02 14:10:44 2022 +0200 +++ b/src/eric7/Testing/Interfaces/TestExecutorBase.py Sat Oct 01 13:06:10 2022 +0200 @@ -59,6 +59,8 @@ discoveryStart: str # start directory for auto discovery 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 @@ -147,11 +149,7 @@ @return dictionary containing the framework name and version and the list of available plugins with name and version each @rtype dict - @exception NotImplementedError this method needs to be implemented by - derived classes """ - raise NotImplementedError - return {} def hasCoverage(self, interpreter): @@ -163,12 +161,46 @@ @type str @return flag indicating the availability of coverage functionality @rtype bool - @exception NotImplementedError this method needs to be implemented by - derived classes + """ + 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): """ - raise NotImplementedError + Public method to indicate the support for test filtering using markers and/or + marker expressions. + + @param interpreter interpreter to be used for the test + @type str + @return flag indicating support of markers + @rtype bool + """ + return False - return False + def getMarkers(self, interpreter, workdir): + """ + Public method to get the list of defined markers. + + @param interpreter interpreter to be used for the test + @type str + @param workdir name of the working directory + @type str + @return dictionary containing the marker as key and the associated description + as value + @rtype dict + """ + return {} def createArguments(self, config): """