Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Cigna/TAP-Rust
Emit test results using Rust and the Test Anything Protocol (TAP)
https://github.com/Cigna/TAP-Rust
rust tap testing
Last synced: 3 months ago
JSON representation
Emit test results using Rust and the Test Anything Protocol (TAP)
- Host: GitHub
- URL: https://github.com/Cigna/TAP-Rust
- Owner: Cigna
- License: apache-2.0
- Created: 2017-09-06T19:58:25.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-05-30T15:00:38.000Z (5 months ago)
- Last Synced: 2024-07-18T11:04:50.941Z (4 months ago)
- Topics: rust, tap, testing
- Language: Rust
- Homepage:
- Size: 61.5 KB
- Stars: 41
- Watchers: 14
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE.txt
Awesome Lists containing this project
README
# TAP: Test Anything Protocol
`->` Lives on crates.io as the [`testanything`](https://crates.io/crates/testanything) crate.
This Rust library provides facilities for the generating and emitting results in the [Test Anything Protocol](https://en.wikipedia.org/wiki/Test_Anything_Protocol). Please feel free to see [testanything.org](http://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
```shell
cargo test
```## License
[Apache License Version 2.0](https://spdx.org/licenses/Apache-2.0.html)