App::Yath::Plugin::Git3pm
Plugin to attach git data to a test run.
Usage
$ yath test -pGit ...
Overview
This plugin will attach git data to your test logs if any is available.
Reading the data
The data is attached to the 'run' entry in the log file. This can be seen directly in the json data. The data is also easily accessible with Test2::Harness::UI.
The data will include the long sha, short sha, branch name, and a brief status.
Options
Command options
Git Options
-
--git-change-base master
-
--git-change-base HEAD^
-
--git-change-base df22abe4
-
--no-git-change-base -
Find files changed by all commits in the current branch from most recent stopping when a commit is found that is also present in the history of the branch/commit specified as the change base.
Source
The source code repository for Test2-Harness can be found at http://github.com/Test-More/Test2-Harness/.
Maintainers
- Chad Granum <[email protected]>
Releases
2 releases since Debian 12 (Bookworm); the text changed 1 time.