Skip to main content

Crate yash_env_test_helper

Crate yash_env_test_helper 

Source
Expand description

This crate contains utility functions for use in tests that interact with the shell environment (yash_env::Env).

This crate has been deprecated in favor of the test-helper feature of the yash-env crate.

Modules§

function
Test helpers for the function module.

Structs§

LocalExecutor
Adapter for LocalSpawner to Executor
WakeFlag
Simple flag that indicates whether a [Waker] has been woken up or not

Functions§

assert_stderr
Helper function for asserting on the content of /dev/stderr
assert_stdout
Helper function for asserting on the content of /dev/stdout
in_virtual_system
Runs an asynchronous function in a virtual system with an executor.
stub_tty
Creates a dummy file at /dev/tty.