61 <tr> |
61 <tr> |
62 <td><a href="#PytestExecutor.__nodeid2testname">__nodeid2testname</a></td> |
62 <td><a href="#PytestExecutor.__nodeid2testname">__nodeid2testname</a></td> |
63 <td>Private method to convert a nodeid to a test name.</td> |
63 <td>Private method to convert a nodeid to a test name.</td> |
64 </tr> |
64 </tr> |
65 <tr> |
65 <tr> |
|
66 <td><a href="#PytestExecutor.__nodeid2testpath">__nodeid2testpath</a></td> |
|
67 <td>Private method to convert a nodeid to a test path list.</td> |
|
68 </tr> |
|
69 <tr> |
66 <td><a href="#PytestExecutor.__normalizeModuleName">__normalizeModuleName</a></td> |
70 <td><a href="#PytestExecutor.__normalizeModuleName">__normalizeModuleName</a></td> |
67 <td>Private method to convert a module name reported by pytest to Python conventions.</td> |
71 <td>Private method to convert a module name reported by pytest to Python conventions.</td> |
68 </tr> |
72 </tr> |
69 <tr> |
73 <tr> |
70 <td><a href="#PytestExecutor.__processData">__processData</a></td> |
74 <td><a href="#PytestExecutor.__processData">__processData</a></td> |
71 <td>Private slot to process the received data.</td> |
75 <td>Private slot to process the received data.</td> |
72 </tr> |
76 </tr> |
73 <tr> |
77 <tr> |
74 <td><a href="#PytestExecutor.createArguments">createArguments</a></td> |
78 <td><a href="#PytestExecutor.createArguments">createArguments</a></td> |
75 <td>Public method to create the arguments needed to start the test process.</td> |
79 <td>Public method to create the arguments needed to start the test process.</td> |
|
80 </tr> |
|
81 <tr> |
|
82 <td><a href="#PytestExecutor.discover">discover</a></td> |
|
83 <td>Public method to start the test discovery process.</td> |
76 </tr> |
84 </tr> |
77 <tr> |
85 <tr> |
78 <td><a href="#PytestExecutor.finished">finished</a></td> |
86 <td><a href="#PytestExecutor.finished">finished</a></td> |
79 <td>Public method handling the unit test process been finished.</td> |
87 <td>Public method handling the unit test process been finished.</td> |
80 </tr> |
88 </tr> |
147 <dt>Return Type:</dt> |
155 <dt>Return Type:</dt> |
148 <dd> |
156 <dd> |
149 str |
157 str |
150 </dd> |
158 </dd> |
151 </dl> |
159 </dl> |
|
160 <a NAME="PytestExecutor.__nodeid2testpath" ID="PytestExecutor.__nodeid2testpath"></a> |
|
161 <h4>PytestExecutor.__nodeid2testpath</h4> |
|
162 <b>__nodeid2testpath</b>(<i>nodeid</i>) |
|
163 |
|
164 <p> |
|
165 Private method to convert a nodeid to a test path list. |
|
166 </p> |
|
167 <dl> |
|
168 |
|
169 <dt><i>nodeid</i> (str)</dt> |
|
170 <dd> |
|
171 nodeid to be converted |
|
172 </dd> |
|
173 </dl> |
|
174 <dl> |
|
175 <dt>Return:</dt> |
|
176 <dd> |
|
177 test path list |
|
178 </dd> |
|
179 </dl> |
|
180 <dl> |
|
181 <dt>Return Type:</dt> |
|
182 <dd> |
|
183 list of str |
|
184 </dd> |
|
185 </dl> |
152 <a NAME="PytestExecutor.__normalizeModuleName" ID="PytestExecutor.__normalizeModuleName"></a> |
186 <a NAME="PytestExecutor.__normalizeModuleName" ID="PytestExecutor.__normalizeModuleName"></a> |
153 <h4>PytestExecutor.__normalizeModuleName</h4> |
187 <h4>PytestExecutor.__normalizeModuleName</h4> |
154 <b>__normalizeModuleName</b>(<i>name</i>) |
188 <b>__normalizeModuleName</b>(<i>name</i>) |
155 |
189 |
156 <p> |
190 <p> |
218 <dt>Return Type:</dt> |
252 <dt>Return Type:</dt> |
219 <dd> |
253 <dd> |
220 list of str |
254 list of str |
221 </dd> |
255 </dd> |
222 </dl> |
256 </dl> |
|
257 <a NAME="PytestExecutor.discover" ID="PytestExecutor.discover"></a> |
|
258 <h4>PytestExecutor.discover</h4> |
|
259 <b>discover</b>(<i>config, pythonpath</i>) |
|
260 |
|
261 <p> |
|
262 Public method to start the test discovery process. |
|
263 </p> |
|
264 <dl> |
|
265 |
|
266 <dt><i>config</i> (TestConfig)</dt> |
|
267 <dd> |
|
268 configuration for the test discovery |
|
269 </dd> |
|
270 <dt><i>pythonpath</i> (list of str)</dt> |
|
271 <dd> |
|
272 list of directories to be added to the Python path |
|
273 </dd> |
|
274 </dl> |
223 <a NAME="PytestExecutor.finished" ID="PytestExecutor.finished"></a> |
275 <a NAME="PytestExecutor.finished" ID="PytestExecutor.finished"></a> |
224 <h4>PytestExecutor.finished</h4> |
276 <h4>PytestExecutor.finished</h4> |
225 <b>finished</b>(<i></i>) |
277 <b>finished</b>(<i></i>) |
226 |
278 |
227 <p> |
279 <p> |