#browser #full-stack #e2e #web

nightly sweet_test

A pretty cross platform test runner

5 releases

0.3.0 Mar 8, 2025
0.3.0-rc.4 Feb 14, 2025
0.3.0-rc.3 Feb 1, 2025
0.3.0-rc.1 Jan 13, 2025

#840 in Testing

Download history 74/week @ 2025-01-08 33/week @ 2025-01-15 248/week @ 2025-01-29 43/week @ 2025-02-05 168/week @ 2025-02-12 43/week @ 2025-02-19 24/week @ 2025-02-26 139/week @ 2025-03-05 23/week @ 2025-03-12 19/week @ 2025-03-19 21/week @ 2025-03-26

207 downloads per month
Used in 17 crates (4 directly)

MIT/Apache

135KB
3.5K SLoC

Sweet Test

A pretty cross platform test runner.

Usage

#![cfg_attr(test, feature(test, custom_test_frameworks))]
#![cfg_attr(test, test_runner(sweet_test::test_runner))]
use sweet_test::prelude::*;

#[test]
fn it_passes(){
	assert!(1 + 1 == 2);
	expect("sweet").not().to_contain("verbose matchers");
}

cargo test

Dependencies

~8–28MB
~432K SLoC