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
CollectRegexSetiterator that never matches anything.
Traits§
- Command
Ext - Wrappers for
Commandmethods 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::TempDirfor using it as a test directory with an arbitrary command.
Functions§
- check_
failure_ regexes - Checks command output log
linefromcmdagainst afailure_regexesregex set, and returns an error if any regex matches. The line is skipped if it matchesignore_regexes. - test_
cmd - Runs a command