Expand description
Launching test commands for Zebra integration and acceptance tests.
Modules§
Structs§
- Arguments
- Helper type to keep track of arguments for spawning a process.
- Test
Child - A test command child process.
- Test
Output - Test command output logs.
- Test
Status - Test command exit status information.
Constants§
- NO_
MATCHES_ REGEX_ ITER - A
CollectRegexSet
iterator that never matches anything.
Traits§
- Command
Ext - Wrappers for
Command
methods to integrate withzebra_test
. - Context
From - Add context to an error report
- Iterator
Debug - A super-trait for
Iterator
+Debug
. - Test
DirExt - Extension trait for methods on
tempdir::TempDir
for using it as a test directory with an arbitrary command.
Functions§
- check_
failure_ regexes - 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
. - test_
cmd - Runs a command
- write_
to_ 🔒test_ logs - Write
line
to stdout, so it can be seen in the test logs.