Commit 17c00b0
authored
Include total number of suites in "run ended" console message (#1116)
This enhances the console output message shown when a test run finishes
by including the total number of suites which ran or skipped, after the
total number of test functions. Example:
```
✔ Test run with 456 tests in 62 suites passed after 3.389 seconds.
```
The data was already being collected to support this, in a property
named `suiteCount`, but it was not being used anywhere. So this PR
adopts that property to augment the current "test run ended" message.
### Checklist:
- [x] Code and documentation should follow the style of the [Style
Guide](https://github.com/apple/swift-testing/blob/main/Documentation/StyleGuide.md).
- [x] If public symbols are renamed or modified, DocC references should
be updated.1 parent 464c01a commit 17c00b0
File tree
2 files changed
+34
-10
lines changed- Sources/Testing/Events/Recorder
- Tests/TestingTests
2 files changed
+34
-10
lines changedLines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
542 | 542 | | |
543 | 543 | | |
544 | 544 | | |
| 545 | + | |
545 | 546 | | |
546 | 547 | | |
547 | 548 | | |
| |||
550 | 551 | | |
551 | 552 | | |
552 | 553 | | |
553 | | - | |
| 554 | + | |
554 | 555 | | |
555 | 556 | | |
556 | 557 | | |
557 | 558 | | |
558 | 559 | | |
559 | 560 | | |
560 | | - | |
| 561 | + | |
561 | 562 | | |
562 | 563 | | |
563 | 564 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
322 | 322 | | |
323 | 323 | | |
324 | 324 | | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
325 | 330 | | |
326 | 331 | | |
327 | 332 | | |
328 | | - | |
| 333 | + | |
329 | 334 | | |
330 | 335 | | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
331 | 340 | | |
332 | 341 | | |
333 | 342 | | |
334 | | - | |
| 343 | + | |
335 | 344 | | |
336 | 345 | | |
337 | 346 | | |
338 | | - | |
| 347 | + | |
339 | 348 | | |
340 | 349 | | |
341 | 350 | | |
| |||
346 | 355 | | |
347 | 356 | | |
348 | 357 | | |
349 | | - | |
350 | | - | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
351 | 362 | | |
352 | 363 | | |
353 | 364 | | |
| |||
369 | 380 | | |
370 | 381 | | |
371 | 382 | | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
372 | 387 | | |
373 | 388 | | |
374 | 389 | | |
375 | | - | |
| 390 | + | |
376 | 391 | | |
377 | 392 | | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
378 | 397 | | |
379 | 398 | | |
380 | 399 | | |
381 | | - | |
| 400 | + | |
382 | 401 | | |
383 | 402 | | |
384 | 403 | | |
| |||
390 | 409 | | |
391 | 410 | | |
392 | 411 | | |
393 | | - | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
394 | 415 | | |
395 | 416 | | |
396 | 417 | | |
| |||
691 | 712 | | |
692 | 713 | | |
693 | 714 | | |
| 715 | + | |
| 716 | + | |
694 | 717 | | |
695 | 718 | | |
696 | 719 | | |
| |||
0 commit comments