Commit cf67abf
committed
feat(runner): add
After running tests, `robotcode results` lets you explore the output
without opening `report.html` or re-running the suite — handy for CI
logs, agent-driven workflows, and quick failure inspection from the
terminal.
Three subcommands:
- `robotcode results summary` — overall status, pass/fail/skip counts,
run duration, and the total number of error and warning messages.
`--failures` adds the list of failed tests above the counts.
- `robotcode results show` — one line per test with its status, source
link, and failure message. Filter by status, tags, suite or test
name pattern.
- `robotcode results log` — the full execution tree: every keyword
call, control structure, and log message, just like Robot's
`report.html` but in your terminal. `--failures-only`, `--level
WARN`, `--extract DIR` (pulls out screenshots and embedded
artefacts), and more.
The output file is auto-discovered from your active `robot.toml`
profile; override with `-o/--output PATH`. Test names carry a
`(path:line)` suffix that VS Code's integrated terminal turns into a
clickable goto-source link. Pass `--format json` (or `toml`) for a
structured, agent-friendly payload.
See `docs/03_reference/cli.md` and `robotcode results --help` for the
full reference.results command to inspect Robot Framework runs1 parent 571413b commit cf67abf
12 files changed
Lines changed: 2951 additions & 87 deletions
File tree
- docs/03_reference
- packages
- plugin/src/robotcode/plugin
- runner
- src/robotcode/runner
- cli
- results
- src/robotcode/cli
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
243 | | - | |
| 243 | + | |
| 244 | + | |
244 | 245 | | |
245 | | - | |
| 246 | + | |
246 | 247 | | |
247 | | - | |
| 248 | + | |
248 | 249 | | |
249 | 250 | | |
250 | 251 | | |
251 | 252 | | |
252 | 253 | | |
253 | 254 | | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
| 255 | + | |
258 | 256 | | |
259 | 257 | | |
260 | 258 | | |
| |||
273 | 271 | | |
274 | 272 | | |
275 | 273 | | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
276 | 298 | | |
277 | 299 | | |
278 | 300 | | |
| |||
307 | 329 | | |
308 | 330 | | |
309 | 331 | | |
310 | | - | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
311 | 340 | | |
312 | 341 | | |
313 | 342 | | |
| |||
325 | 354 | | |
326 | 355 | | |
327 | 356 | | |
328 | | - | |
329 | | - | |
330 | | - | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
335 | 369 | | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | | - | |
| 370 | + | |
340 | 371 | | |
341 | 372 | | |
342 | 373 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
38 | 41 | | |
39 | 42 | | |
40 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
7 | | - | |
| 8 | + | |
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
0 commit comments