← Catalogue

minitest

Minitest's numbered `1) Failure:` entries and the assertion beneath each one.

rubytesttoolmatcher

Open in playgroundFile on GitHubHistory

Install: ci-doctor matchers add official/minitest

matchers/ruby/minitest/matcher.yaml

id: minitestrole: toolclassification: [ruby, test]description: Minitest's numbered `1) Failure:` entries and the assertion beneath each one.pattern: '^\s*\d+\) (Failure|Error):'after: 10

In bundles

allruby

Fixtures

Framing stripped per provider. Highlighted lines are what this matcher selects; the marked line is the anchor.

minitest_failureOpen in playground

1Current runner version: '2.336.0'
2##[group]Operating System
3Ubuntu
424.04.4
5LTS
6##[endgroup]
7Secret source: Actions
8Prepare workflow directory
9Prepare all required actions
10Complete job name: minitest_failure
11##[group]Set up job
12Image: ubuntu-24.04
13Runner name: 'GitHub Actions 12'
14##[endgroup]
15Download action repository 'actions/checkout@v4'
16Download action repository 'actions/cache@v4'
17##[group]Run actions/checkout@v4
18 with:
19 fetch-depth: 20
20 lfs: false
21##[endgroup]
22Syncing repository: acme/ledger
23##[group]Getting Git version info
24Working directory is '/home/runner/work/ledger/ledger'
25##[endgroup]
26/usr/bin/git checkout --progress --force 8ad41f02
27##[group]Run actions/cache@v4
28 with:
29 path: ~/.cache
30 key: Linux-deps-8ad41f02
31##[endgroup]
32Received 41943040 of 41943040 (100.0%), 40.0 MBs/sec
33Cache restored from key: Linux-deps-8ad41f02
34##[group]Run bundle exec rake test
35bundle exec rake test
36shell: /usr/bin/bash -e {0}
37##[endgroup]
38Run options: --seed 46213
39
40# Running:
41
42.......F...
43
44 1) Failure:
45CartTest#test_discount_is_applied_before_tax [test/cart_test.rb:52]:
46Expected: 2700
47 Actual: 3000
48
49rails test test/cart_test.rb:49
50
51Finished in 0.482913s, 22.7787 runs/s, 45.5575 assertions/s.
5211 runs, 22 assertions, 1 failures, 0 errors, 0 skips
53##[error]Process completed with exit code 1.
54##[group]Post Run actions/checkout@v4
55##[endgroup]
56/usr/bin/git version
57git version 2.54.0
58##[group]Post Run actions/upload-artifact@v4
59##[endgroup]
60Artifact upload complete.
61Post job cleanup.
62Cleaning up orphan processes