Module branchless::testing[][src]

Expand description

Testing utilities.

This is inside src rather than tests since we use this code in some unit tests.

Structs

Wrapper around the Git executable, for testing.

Options for Git::init_repo_with_options.

Options for Git::run_with_options.

Wrapper around a Git instance which cleans up the repository once dropped.

Functions

Get the path to the Git executable for testing.

Create a temporary directory for testing and a Git instance to use with it.