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

assert-rs / libtest2 / 20307517636
32%

Build:
DEFAULT BRANCH: main
Ran 17 Dec 2025 03:11PM UTC
Jobs 1
Files 39
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

17 Dec 2025 03:10PM UTC coverage: 32.092%. Remained the same
20307517636

push

github

web-flow
feat(test2): Support empty parameter list in `#[test]` (#164)

This adds support for using the `#[test]` attribute on functions with no
parameters (previously these tests had to take the `TestContext`
parameter as the only argument). So code like this should now work as
expected:

```
#[libtest2::test]
fn simple_test() {
    assert_eq!(2 + 2, 4);
}
```

Other parameter combinations are not supported.

Part of https://github.com/assert-rs/libtest2/issues/13.

543 of 1692 relevant lines covered (32.09%)

0.73 hits per line

Jobs
ID Job ID Ran Files Coverage
1 20307517636.1 17 Dec 2025 03:11PM UTC 39
32.09
GitHub Action Run
Source Files on build 20307517636
  • Tree
  • List 39
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 08e02cdc on github
  • Prev Build on main (#20304930312)
  • Next Build on main (#20830172339)
  • 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

© 2026 Coveralls, Inc