87 <td><a href="#EricPlugin.pytest_itemcollected">pytest_itemcollected</a></td> |
87 <td><a href="#EricPlugin.pytest_itemcollected">pytest_itemcollected</a></td> |
88 <td>Public malled by pytest after a test item has been collected.</td> |
88 <td>Public malled by pytest after a test item has been collected.</td> |
89 </tr> |
89 </tr> |
90 <tr> |
90 <tr> |
91 <td><a href="#EricPlugin.pytest_report_header">pytest_report_header</a></td> |
91 <td><a href="#EricPlugin.pytest_report_header">pytest_report_header</a></td> |
92 <td></td> |
92 <td>Public method called by pytest before any reporting.</td> |
93 </tr> |
93 </tr> |
94 <tr> |
94 <tr> |
95 <td><a href="#EricPlugin.pytest_runtest_logfinish">pytest_runtest_logfinish</a></td> |
95 <td><a href="#EricPlugin.pytest_runtest_logfinish">pytest_runtest_logfinish</a></td> |
96 <td>Public method called by pytest after a test has been completed.</td> |
96 <td>Public method called by pytest after a test has been completed.</td> |
97 </tr> |
97 </tr> |
99 <td><a href="#EricPlugin.pytest_runtest_logreport">pytest_runtest_logreport</a></td> |
99 <td><a href="#EricPlugin.pytest_runtest_logreport">pytest_runtest_logreport</a></td> |
100 <td>Public method called by pytest when a test phase (setup, call and teardown) has been completed.</td> |
100 <td>Public method called by pytest when a test phase (setup, call and teardown) has been completed.</td> |
101 </tr> |
101 </tr> |
102 <tr> |
102 <tr> |
103 <td><a href="#EricPlugin.pytest_runtest_logstart">pytest_runtest_logstart</a></td> |
103 <td><a href="#EricPlugin.pytest_runtest_logstart">pytest_runtest_logstart</a></td> |
104 <td></td> |
104 <td>Public method called by pytest before running a test.</td> |
105 </tr> |
105 </tr> |
106 <tr> |
106 <tr> |
107 <td><a href="#EricPlugin.pytest_sessionfinish">pytest_sessionfinish</a></td> |
107 <td><a href="#EricPlugin.pytest_sessionfinish">pytest_sessionfinish</a></td> |
108 <td></td> |
108 <td>Public method called by pytest after the whole test run finished.</td> |
109 </tr> |
109 </tr> |
110 <tr> |
110 <tr> |
111 <td><a href="#EricPlugin.pytest_sessionstart">pytest_sessionstart</a></td> |
111 <td><a href="#EricPlugin.pytest_sessionstart">pytest_sessionstart</a></td> |
112 <td></td> |
112 <td>Public method called by pytest before performing collection and entering the run test loop.</td> |
113 </tr> |
113 </tr> |
114 </table> |
114 </table> |
115 <h3>Static Methods</h3> |
115 <h3>Static Methods</h3> |
116 |
116 |
117 <table> |
117 <table> |
169 </dl> |
169 </dl> |
170 <a NAME="EricPlugin.pytest_report_header" ID="EricPlugin.pytest_report_header"></a> |
170 <a NAME="EricPlugin.pytest_report_header" ID="EricPlugin.pytest_report_header"></a> |
171 <h4>EricPlugin.pytest_report_header</h4> |
171 <h4>EricPlugin.pytest_report_header</h4> |
172 <b>pytest_report_header</b>(<i>config, startdir</i>) |
172 <b>pytest_report_header</b>(<i>config, startdir</i>) |
173 |
173 |
|
174 <p> |
|
175 Public method called by pytest before any reporting. |
|
176 </p> |
|
177 <dl> |
|
178 |
|
179 <dt><i>config</i> (Config)</dt> |
|
180 <dd> |
|
181 reference to the configuration object |
|
182 </dd> |
|
183 <dt><i>startdir</i> (LocalPath)</dt> |
|
184 <dd> |
|
185 starting directory |
|
186 </dd> |
|
187 </dl> |
174 <a NAME="EricPlugin.pytest_runtest_logfinish" ID="EricPlugin.pytest_runtest_logfinish"></a> |
188 <a NAME="EricPlugin.pytest_runtest_logfinish" ID="EricPlugin.pytest_runtest_logfinish"></a> |
175 <h4>EricPlugin.pytest_runtest_logfinish</h4> |
189 <h4>EricPlugin.pytest_runtest_logfinish</h4> |
176 <b>pytest_runtest_logfinish</b>(<i>nodeid, location</i>) |
190 <b>pytest_runtest_logfinish</b>(<i>nodeid, location</i>) |
177 |
191 |
178 <p> |
192 <p> |
207 </dl> |
221 </dl> |
208 <a NAME="EricPlugin.pytest_runtest_logstart" ID="EricPlugin.pytest_runtest_logstart"></a> |
222 <a NAME="EricPlugin.pytest_runtest_logstart" ID="EricPlugin.pytest_runtest_logstart"></a> |
209 <h4>EricPlugin.pytest_runtest_logstart</h4> |
223 <h4>EricPlugin.pytest_runtest_logstart</h4> |
210 <b>pytest_runtest_logstart</b>(<i>nodeid, location</i>) |
224 <b>pytest_runtest_logstart</b>(<i>nodeid, location</i>) |
211 |
225 |
|
226 <p> |
|
227 Public method called by pytest before running a test. |
|
228 </p> |
|
229 <dl> |
|
230 |
|
231 <dt><i>nodeid</i> (str)</dt> |
|
232 <dd> |
|
233 node id of the test item |
|
234 </dd> |
|
235 <dt><i>location</i> (tuple of (str, int, str))</dt> |
|
236 <dd> |
|
237 tuple containing the file name, the line number and |
|
238 the test name |
|
239 </dd> |
|
240 </dl> |
212 <a NAME="EricPlugin.pytest_sessionfinish" ID="EricPlugin.pytest_sessionfinish"></a> |
241 <a NAME="EricPlugin.pytest_sessionfinish" ID="EricPlugin.pytest_sessionfinish"></a> |
213 <h4>EricPlugin.pytest_sessionfinish</h4> |
242 <h4>EricPlugin.pytest_sessionfinish</h4> |
214 <b>pytest_sessionfinish</b>(<i>session, exitstatus</i>) |
243 <b>pytest_sessionfinish</b>(<i>session, exitstatus</i>) |
215 |
244 |
|
245 <p> |
|
246 Public method called by pytest after the whole test run finished. |
|
247 </p> |
|
248 <dl> |
|
249 |
|
250 <dt><i>session</i> (Session)</dt> |
|
251 <dd> |
|
252 reference to the session object |
|
253 </dd> |
|
254 <dt><i>exitstatus</i> (int or ExitCode)</dt> |
|
255 <dd> |
|
256 exit status |
|
257 </dd> |
|
258 </dl> |
216 <a NAME="EricPlugin.pytest_sessionstart" ID="EricPlugin.pytest_sessionstart"></a> |
259 <a NAME="EricPlugin.pytest_sessionstart" ID="EricPlugin.pytest_sessionstart"></a> |
217 <h4>EricPlugin.pytest_sessionstart</h4> |
260 <h4>EricPlugin.pytest_sessionstart</h4> |
218 <b>pytest_sessionstart</b>(<i>session</i>) |
261 <b>pytest_sessionstart</b>(<i>session</i>) |
219 |
262 |
|
263 <p> |
|
264 Public method called by pytest before performing collection and |
|
265 entering the run test loop. |
|
266 </p> |
|
267 <dl> |
|
268 |
|
269 <dt><i>session</i> (Session)</dt> |
|
270 <dd> |
|
271 reference to the session object |
|
272 </dd> |
|
273 </dl> |
220 <div align="right"><a href="#top">Up</a></div> |
274 <div align="right"><a href="#top">Up</a></div> |
221 <hr /> |
275 <hr /> |
222 <hr /> |
276 <hr /> |
223 <a NAME="GetMarkersPlugin" ID="GetMarkersPlugin"></a> |
277 <a NAME="GetMarkersPlugin" ID="GetMarkersPlugin"></a> |
224 <h2>GetMarkersPlugin</h2> |
278 <h2>GetMarkersPlugin</h2> |