MCPcopy Create free account

hub / github.com/Cigna/TAP-Rust / functions

Functions36 in github.com/Cigna/TAP-Rust

↓ 8 callersMethodfinalize
Produce the configured `TapTest` object. Panics if you don't pass a passed status.
src/tap_test_builder.rs:57
↓ 6 callersMethodname
Print the suite name as a diagnostic line. Surrounded by blank diagnostic lines because pretty.
src/tap_writer.rs:27
↓ 6 callersMethodpassed
Set passed status
src/tap_test_builder.rs:47
↓ 4 callersMethoddiagnostic
Emit a diagnostic message. Prefaced with a #.
src/tap_writer.rs:44
↓ 4 callersMethodok
Emit a passing test line.
src/tap_writer.rs:34
↓ 3 callersMethoddiagnostics
Set diagnostics. This can be any number of lines.
src/tap_test_builder.rs:52
↓ 3 callersMethodok_string
Based on the test passing status, yield either "ok" or "not ok".
src/tap_test.rs:27
↓ 2 callersMethodbail_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 callersMethodformat_diagnostics
Diagnostics should begin with a # mark
src/tap_test.rs:63
↓ 2 callersMethodlines
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 callersMethodname
Set test name
src/tap_test_builder.rs:42
↓ 2 callersMethodstatus_line
Produce a properly-formatted TAP line. This excludes diagnostics.
src/tap_test.rs:37
↓ 2 callersMethodtap
Produce all lines (inclusive of diagnostics) representing this test. This is the money, right here.
src/tap_test.rs:47
↓ 2 callersMethodtests
Set the tests
src/tap_suite_builder.rs:54
↓ 1 callersMethodfinalize
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 callersMethodname
Set the name
src/tap_suite_builder.rs:49
↓ 1 callersMethodnot_ok
Emit a failing test line.
src/tap_writer.rs:39
↓ 1 callersMethodplan
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 callersMethodprint
Emit TAP stream to the provided sink, which must be `Write`.
src/tap_suite.rs:39
Methodbail_out
Emergency stop! This should be the last thing in the TAP stream. Nothing may come after it.
src/tap_writer.rs:49
Methodfmt
(&self, f: &mut fmt::Formatter)
src/tap_test.rs:97
Methodfrom
(tap_test: TapTest)
src/tap_test.rs:71
Functionmain
()
examples/stream.rs:5
Functionmain
()
examples/simple.rs:8
Methodnew
Produce a new builder object
src/tap_suite_builder.rs:42
Methodnew
Make me a new one from a name. Don't leave the name blank as it improves clarity.
src/tap_writer.rs:15
Methodnew
Produce a blank `TapTest` (the default is a passing test)
src/tap_test_builder.rs:34
Functiontest_format_diagnostics
()
src/tap_test.rs:171
Functiontest_format_first_line
()
src/tap_test.rs:132
Functiontest_lines
()
src/tap_suite.rs:54
Functiontest_tap_lines
()
src/tap_test.rs:157
Functiontest_tap_suite_builder
()
src/tap_suite_builder.rs:74
Functiontest_tap_test_builder
()
src/tap_test_builder.rs:78
Functiontest_tap_test_builder_with_no_name
()
src/tap_test_builder.rs:95
Functiontest_tap_test_builder_with_no_passed_status
()
src/tap_test_builder.rs:104
Functiontest_tap_test_status_string
()
src/tap_test.rs:107