DOKK / manpages / debian 12 / libtest2-harness-perl / App::Yath::Plugin::Git.3pm.en
App::Yath::Plugin::Git(3pm) User Contributed Perl Documentation App::Yath::Plugin::Git(3pm)

App::Yath::Plugin::Git - Plugin to attach git data to a test run.

This plugin will attach git data to your test logs if any is available.

    $ yath test -pGit ...

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.

COMMAND OPTIONS

Git Options

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.

The source code repository for Test2-Harness can be found at http://github.com/Test-More/Test2-Harness/.

Copyright 2020 Chad Granum <exodist7@gmail.com>.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/

2023-03-12 perl v5.36.0