Module branchless::testing[][src]

Testing utilities.

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

Structs

Git

Wrapper around the Git executable, for testing.

GitInitOptions

Options for Git::init_repo_with_options.

GitRunOptions

Options for Git::run_with_options.

Functions

get_git_executable

Get the path to the Git executable for testing.

with_git

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