Expand description
Launching test commands for Zebra integration and acceptance tests.
Modules§
- Convenience traits for converting to [
Regex
] and [RegexSet
].
Structs§
- Helper type to keep track of arguments for spawning a process.
- A test command child process.
- Test command output logs.
- Test command exit status information.
Constants§
- A
CollectRegexSet
iterator that never matches anything.
Traits§
- Wrappers for
Command
methods to integrate withzebra_test
. - Add context to an error report
- Extension trait for methods on
tempdir::TempDir
for using it as a test directory with an arbitrary command.
Functions§
- Checks command output log
line
fromcmd
against afailure_regexes
regex set, and returns an error if any regex matches. The line is skipped if it matchesignore_regexes
. - Runs a command
- Write
line
to stdout, so it can be seen in the test logs.