Skip to content
/ TAP-Rust Public

Emit test results using Rust and the Test Anything Protocol (TAP)

License

Notifications You must be signed in to change notification settings

Cigna/TAP-Rust

Repository files navigation

TAP: Test Anything Protocol

-> Lives on crates.io as the testanything crate.

This Rust library provides facilities for the generating and emitting results in the Test Anything Protocol. Please feel free to see testanything.org for more information.

Usage

Please see the examples in the examples folder.

Simple:

1..2
ok 1 Panda Bamboo
not ok 2 Curry Noodle
# Tree
# Flower

Use with alloc only (#[no_std])

To use this crate with alloc in #[no_std], use:

testanything = { version = "*", default-features = false, features = ["alloc"] }

Testing

cargo test

License

Apache License Version 2.0