Crates.io | tap-consooomer |
lib.rs | tap-consooomer |
version | 0.1.0 |
source | src |
created_at | 2023-01-21 13:01:50.922413 |
updated_at | 2023-01-21 13:01:50.922413 |
description | Parse Test Anything Protocol (TAP) files |
homepage | |
repository | https://github.com/ChiefGokhlayeh/tap-consooomer |
max_upload_size | |
id | 764311 |
size | 81,508 |
That's three o's.
Test Anything Protocol (TAP) Consumer for Rust. Capable of parsing TAP14 files into pest tokens.
Reads a given Test Anything Protocol (TAP) file and prints the JSON-formatted parser result to
stdout. If FILE is omitted, TAP input is read from stdin. Parsing only comences after encountering
an EOF. Only complete TAP files are supported.
USAGE:
tap [FILE]
ARGS:
<FILE>
Path to TAP input file
OPTIONS:
-h, --help
Print help information
-V, --version
Print version information
See examples directory for some example TAP logs. To convert them into JSON run:
❯ tap examples/cascading.tap
The TAP log should be transformed as follows:
Input | Output | |
---|---|---|
|
➜ |
|
Licensed under
yaml
lines. These are treated as plain-text and not broken down any further. Use any of your favorite YAML libraries (like serde_yaml) to further parse the embedded YAML block. Any indentation preceding the first element is used as the anchor for the entire YAML block and trimmed off. Any line separators (<LF>
or <CR><LF>
) at the end of any given yaml
line are omitted. Empty or whitespace-only lines inside the embedded YAML block get removed.