StructsΒ§
- Remote
Project - How to initialize a remote git project
- Test
Command - A simple wrapper around a Command with some conveniences.
- Test
Project TestProjectrepresents a temporary project to run tests against.
StaticsΒ§
- CURRENT_
DIR_ πLOCK - NEXT_ID π
- Global test identifier.
TraitsΒ§
FunctionsΒ§
- canonicalize π
- clone_
remote - Clones a remote repository into the specified directory. Panics if the command fails.
- config_
paths_ πexist - insert_
redactions π - lossy_
string - make_
redactions π - Creates a [
snapbox] redactions object from a list of regex redactions. - setup_
cast - setup_
cast_ project - setup_
forge - Setup an empty test project and return a command pointing to the forge executable whose CWD is set to the projectβs root.
- setup_
forge_ project - setup_
forge_ remote - Setups a new local forge project by cloning and initializing the
RemoteProject - test_
redactions π - try_
setup_ forge_ remote - Same as
setup_forge_remotebut not panicking
Type AliasesΒ§
- Regex
Redaction - A tuple of a placeholder and a regex replacement string.