• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

assert-rs / libtest2 / 19139459401
32%

Build:
DEFAULT BRANCH: main
Ran 06 Nov 2025 02:45PM UTC
Jobs 1
Files 38
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Nov 2025 02:44PM UTC coverage: 31.931% (+1.3%) from 30.588%
19139459401

push

github

web-flow
Add support for `#[should_panic]` macro (#151)

This is done by recursively parsing attributes following the
`#[libtest2::test]` macro, and then parsing the first `#[should_panic]`
macro encountered. If a macro is encountered then the test will be run
within a `catch_unwind`, which is done by wrapping it in the
`assert_panic` macro (function style).

Potentially supporting multiple `#[should_panic]` macros is left for the
future.

Fixes https://github.com/assert-rs/libtest2/issues/15

34 of 37 new or added lines in 2 files covered. (91.89%)

539 of 1688 relevant lines covered (31.93%)

0.76 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
85.71
crates/libtest2/src/panic.rs
Jobs
ID Job ID Ran Files Coverage
1 19139459401.1 06 Nov 2025 02:45PM UTC 38
31.93
GitHub Action Run
Source Files on build 19139459401
  • Tree
  • List 38
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • fcfc13a7 on github
  • Prev Build on main (#18990226994)
  • Next Build on main (#19172252080)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc