src/eric7/Testing/Interfaces/TestExecutorBase.py

branch
eric7
changeset 10404
f7d9c31f0c38
parent 10069
435cc5875135
child 10405
df7e1694d0eb
--- a/src/eric7/Testing/Interfaces/TestExecutorBase.py	Tue Dec 12 09:35:39 2023 +0100
+++ b/src/eric7/Testing/Interfaces/TestExecutorBase.py	Tue Dec 12 16:43:51 2023 +0100
@@ -44,8 +44,8 @@
     message: str = ""  # short result message
     extra: list = None  # additional information text
     duration: float = None  # test duration
-    filename: str = None  # file name of a failed test
-    lineno: int = None  # line number of a failed test
+    filename: str = None  # file name of a (failed) test
+    lineno: int = None  # line number of a (failed) test
     subtestResult: bool = False  # flag indicating the result of a subtest
 
 
@@ -73,9 +73,10 @@
     """
     Base class for test framework specific implementations.
 
-    @signal collected(list of tuple of (str, str, str)) emitted after all tests
-        have been collected. Tuple elements are the test id, the test name and
-        a short description of the test.
+    @signal collected(list of tuple of (str, str, str, str, int)) emitted after all
+        tests have been collected. Tuple elements are the test id, the test name,
+        a short description of the test, the test file name and the line number of
+        the test.
     @signal collectError(list of tuple of (str, str)) emitted when errors
         are encountered during test collection. Tuple elements are the
         test name and the error message.

eric ide

mercurial