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

assert-rs / libtest2 / 20307517636 / 1
32%
main: 32%

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

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

Source Files on job 20307517636.1
  • Tree
  • List 39
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 20307517636
  • 08e02cdc on github
  • Prev Job for on main (#20304930312.1)
  • Next Job for on main (#20830172339.1)
  • 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