Test::File::Codeowners - Write tests for CODEOWNERS files
version 0.48
use Test::More; eval 'use Test::File::Codeowners'; plan skip_all => 'Test::File::Codeowners required for testing CODEOWNERS' if $@; codeowners_syntax_ok(); done_testing;
This package has assertion subroutines for testing CODEOWNERS files.
codeowners_syntax_ok(); # search up the tree for a CODEOWNERS file codeowners_syntax_ok($filepath);
Check the syntax of a CODEOWNERS file.
codeowners_git_files_ok(); # search up the tree for a CODEOWNERS file codeowners_git_files_ok($filepath);
Please report any bugs or feature requests on the bugtracker website https://github.com/chazmcgarvey/git-codeowners/issues
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
Charles McGarvey <chazmcgarvey@brokenzipper.com>
This software is copyright (c) 2019 by Charles McGarvey.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install App::Codeowners, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Codeowners
CPAN shell
perl -MCPAN -e shell install App::Codeowners
For more information on module installation, please visit the detailed CPAN module installation guide.