Skip to main content

Crate tesults_test

Crate tesults_test 

Source

Modules§

__private

Functions§

custom
Attach a custom key-value field to the currently-running test.
description
Set a description for the currently-running test.
file
Attach a file path to the currently-running test (uploaded to Tesults).
step
Record a step for the currently-running test. result should be "pass" or "fail".

Attribute Macros§

test
Replaces #[test] to add Tesults reporting. Timing, pass/fail, and panic reason are captured automatically. Use tesults_test::description(), tesults_test::custom(), tesults_test::step(), and tesults_test::file() inside the test body for enhanced reporting.