eric7/Documentation/Source/eric7.Debugger.DebuggerInterfacePython.html

branch
eric7
changeset 9097
213951c41dcd
parent 8596
d64760b2da50
equal deleted inserted replaced
9096:f6f7d8f364c3 9097:213951c41dcd
238 <tr> 238 <tr>
239 <td><a href="#DebuggerInterfacePython.remoteThreadList">remoteThreadList</a></td> 239 <td><a href="#DebuggerInterfacePython.remoteThreadList">remoteThreadList</a></td>
240 <td>Public method to request the list of threads from the client.</td> 240 <td>Public method to request the list of threads from the client.</td>
241 </tr> 241 </tr>
242 <tr> 242 <tr>
243 <td><a href="#DebuggerInterfacePython.remoteUTDiscover">remoteUTDiscover</a></td>
244 <td>Public method to perform a test case discovery.</td>
245 </tr>
246 <tr>
247 <td><a href="#DebuggerInterfacePython.remoteUTPrepare">remoteUTPrepare</a></td>
248 <td>Public method to prepare a new unittest run.</td>
249 </tr>
250 <tr>
251 <td><a href="#DebuggerInterfacePython.remoteUTRun">remoteUTRun</a></td>
252 <td>Public method to start a unittest run.</td>
253 </tr>
254 <tr>
255 <td><a href="#DebuggerInterfacePython.remoteUTStop">remoteUTStop</a></td>
256 <td>Public method to stop a unittest run.</td>
257 </tr>
258 <tr>
259 <td><a href="#DebuggerInterfacePython.remoteWatchpoint">remoteWatchpoint</a></td> 243 <td><a href="#DebuggerInterfacePython.remoteWatchpoint">remoteWatchpoint</a></td>
260 <td>Public method to set or clear a watch expression.</td> 244 <td>Public method to set or clear a watch expression.</td>
261 </tr> 245 </tr>
262 <tr> 246 <tr>
263 <td><a href="#DebuggerInterfacePython.remoteWatchpointEnable">remoteWatchpointEnable</a></td> 247 <td><a href="#DebuggerInterfacePython.remoteWatchpointEnable">remoteWatchpointEnable</a></td>
1194 <dt><i>debuggerId</i> (str)</dt> 1178 <dt><i>debuggerId</i> (str)</dt>
1195 <dd> 1179 <dd>
1196 ID of the debugger backend 1180 ID of the debugger backend
1197 </dd> 1181 </dd>
1198 </dl> 1182 </dl>
1199 <a NAME="DebuggerInterfacePython.remoteUTDiscover" ID="DebuggerInterfacePython.remoteUTDiscover"></a>
1200 <h4>DebuggerInterfacePython.remoteUTDiscover</h4>
1201 <b>remoteUTDiscover</b>(<i>syspath, workdir, discoveryStart</i>)
1202
1203 <p>
1204 Public method to perform a test case discovery.
1205 </p>
1206 <dl>
1207
1208 <dt><i>syspath</i> (list of str)</dt>
1209 <dd>
1210 list of directories to be added to sys.path on the
1211 remote side
1212 </dd>
1213 <dt><i>workdir</i> (str)</dt>
1214 <dd>
1215 path name of the working directory
1216 </dd>
1217 <dt><i>discoveryStart</i> (str)</dt>
1218 <dd>
1219 directory to start auto-discovery at
1220 </dd>
1221 </dl>
1222 <a NAME="DebuggerInterfacePython.remoteUTPrepare" ID="DebuggerInterfacePython.remoteUTPrepare"></a>
1223 <h4>DebuggerInterfacePython.remoteUTPrepare</h4>
1224 <b>remoteUTPrepare</b>(<i>fn, tn, tfn, failed, cov, covname, coverase, syspath, workdir, discover, discoveryStart, testCases, debug</i>)
1225
1226 <p>
1227 Public method to prepare a new unittest run.
1228 </p>
1229 <dl>
1230
1231 <dt><i>fn</i> (str)</dt>
1232 <dd>
1233 name of file to load
1234 </dd>
1235 <dt><i>tn</i> (str)</dt>
1236 <dd>
1237 name of test to load
1238 </dd>
1239 <dt><i>tfn</i> (str)</dt>
1240 <dd>
1241 test function name to load tests from
1242 </dd>
1243 <dt><i>failed</i> (list of str)</dt>
1244 <dd>
1245 list of failed test, if only failed test should be run
1246 </dd>
1247 <dt><i>cov</i> (bool)</dt>
1248 <dd>
1249 flag indicating collection of coverage data is requested
1250 </dd>
1251 <dt><i>covname</i> (str)</dt>
1252 <dd>
1253 name of file to be used to assemble the coverage caches
1254 filename
1255 </dd>
1256 <dt><i>coverase</i> (bool)</dt>
1257 <dd>
1258 flag indicating erasure of coverage data is requested
1259 </dd>
1260 <dt><i>syspath</i> (list of str)</dt>
1261 <dd>
1262 list of directories to be added to sys.path on the
1263 remote side
1264 </dd>
1265 <dt><i>workdir</i> (str)</dt>
1266 <dd>
1267 path name of the working directory
1268 </dd>
1269 <dt><i>discover</i> (bool)</dt>
1270 <dd>
1271 flag indicating to discover the tests automatically
1272 </dd>
1273 <dt><i>discoveryStart</i> (str)</dt>
1274 <dd>
1275 directory to start auto-discovery at
1276 </dd>
1277 <dt><i>testCases</i> (list of str)</dt>
1278 <dd>
1279 list of test cases to be loaded
1280 </dd>
1281 <dt><i>debug</i> (bool)</dt>
1282 <dd>
1283 flag indicating to run unittest with debugging
1284 </dd>
1285 </dl>
1286 <a NAME="DebuggerInterfacePython.remoteUTRun" ID="DebuggerInterfacePython.remoteUTRun"></a>
1287 <h4>DebuggerInterfacePython.remoteUTRun</h4>
1288 <b>remoteUTRun</b>(<i>debug, failfast</i>)
1289
1290 <p>
1291 Public method to start a unittest run.
1292 </p>
1293 <dl>
1294
1295 <dt><i>debug</i> (bool)</dt>
1296 <dd>
1297 flag indicating to run unittest with debugging
1298 </dd>
1299 <dt><i>failfast</i> (bool)</dt>
1300 <dd>
1301 flag indicating to stop at the first error
1302 </dd>
1303 </dl>
1304 <a NAME="DebuggerInterfacePython.remoteUTStop" ID="DebuggerInterfacePython.remoteUTStop"></a>
1305 <h4>DebuggerInterfacePython.remoteUTStop</h4>
1306 <b>remoteUTStop</b>(<i></i>)
1307
1308 <p>
1309 Public method to stop a unittest run.
1310 </p>
1311 <a NAME="DebuggerInterfacePython.remoteWatchpoint" ID="DebuggerInterfacePython.remoteWatchpoint"></a> 1183 <a NAME="DebuggerInterfacePython.remoteWatchpoint" ID="DebuggerInterfacePython.remoteWatchpoint"></a>
1312 <h4>DebuggerInterfacePython.remoteWatchpoint</h4> 1184 <h4>DebuggerInterfacePython.remoteWatchpoint</h4>
1313 <b>remoteWatchpoint</b>(<i>debuggerId, cond, setWatch, temp=False</i>) 1185 <b>remoteWatchpoint</b>(<i>debuggerId, cond, setWatch, temp=False</i>)
1314 1186
1315 <p> 1187 <p>

eric ide

mercurial