Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Cigna/TAP-Rust
/ functions
Functions
36 in github.com/Cigna/TAP-Rust
⨍
Functions
36
◇
Types & classes
5
↓ 8 callers
Method
finalize
Produce the configured `TapTest` object. Panics if you don't pass a passed status.
src/tap_test_builder.rs:57
↓ 6 callers
Method
name
Print the suite name as a diagnostic line. Surrounded by blank diagnostic lines because pretty.
src/tap_writer.rs:27
↓ 6 callers
Method
passed
Set passed status
src/tap_test_builder.rs:47
↓ 4 callers
Method
diagnostic
Emit a diagnostic message. Prefaced with a #.
src/tap_writer.rs:44
↓ 4 callers
Method
ok
Emit a passing test line.
src/tap_writer.rs:34
↓ 3 callers
Method
diagnostics
Set diagnostics. This can be any number of lines.
src/tap_test_builder.rs:52
↓ 3 callers
Method
ok_string
Based on the test passing status, yield either "ok" or "not ok".
src/tap_test.rs:27
↓ 2 callers
Method
bail_out_with_message
In case you want to bail out with a message. Please use this instead of plain `bail_out`.
src/tap_writer.rs:54
↓ 2 callers
Method
format_diagnostics
Diagnostics should begin with a # mark
src/tap_test.rs:63
↓ 2 callers
Method
lines
Produce and arrange all text lines, in order, included in this TAP stream. This includes the leading plan line which is calculated based on the number
src/tap_suite.rs:21
↓ 2 callers
Method
name
Set test name
src/tap_test_builder.rs:42
↓ 2 callers
Method
status_line
Produce a properly-formatted TAP line. This excludes diagnostics.
src/tap_test.rs:37
↓ 2 callers
Method
tap
Produce all lines (inclusive of diagnostics) representing this test. This is the money, right here.
src/tap_test.rs:47
↓ 2 callers
Method
tests
Set the tests
src/tap_suite_builder.rs:54
↓ 1 callers
Method
finalize
Produce the configured `TapSuite` object. Name defaults to a blank `String` and the tests default to an empty `Vec`.
src/tap_suite_builder.rs:59
↓ 1 callers
Method
name
Set the name
src/tap_suite_builder.rs:49
↓ 1 callers
Method
not_ok
Emit a failing test line.
src/tap_writer.rs:39
↓ 1 callers
Method
plan
Print out the plan like "1..5". If you don't know the plan ahead of time, it can come at the very end.
src/tap_writer.rs:22
↓ 1 callers
Method
print
Emit TAP stream to the provided sink, which must be `Write`.
src/tap_suite.rs:39
Method
bail_out
Emergency stop! This should be the last thing in the TAP stream. Nothing may come after it.
src/tap_writer.rs:49
Method
fmt
(&self, f: &mut fmt::Formatter)
src/tap_test.rs:97
Method
from
(tap_test: TapTest)
src/tap_test.rs:71
Function
main
()
examples/stream.rs:5
Function
main
()
examples/simple.rs:8
Method
new
Produce a new builder object
src/tap_suite_builder.rs:42
Method
new
Make me a new one from a name. Don't leave the name blank as it improves clarity.
src/tap_writer.rs:15
Method
new
Produce a blank `TapTest` (the default is a passing test)
src/tap_test_builder.rs:34
Function
test_format_diagnostics
()
src/tap_test.rs:171
Function
test_format_first_line
()
src/tap_test.rs:132
Function
test_lines
()
src/tap_suite.rs:54
Function
test_tap_lines
()
src/tap_test.rs:157
Function
test_tap_suite_builder
()
src/tap_suite_builder.rs:74
Function
test_tap_test_builder
()
src/tap_test_builder.rs:78
Function
test_tap_test_builder_with_no_name
()
src/tap_test_builder.rs:95
Function
test_tap_test_builder_with_no_passed_status
()
src/tap_test_builder.rs:104
Function
test_tap_test_status_string
()
src/tap_test.rs:107