NAME

Test::File::Codeowners - Write tests for CODEOWNERS files

VERSION

version 0.55

SYNOPSIS

use Test::More;

eval 'use Test::File::Codeowners';
plan skip_all => 'Test::File::Codeowners required for testing CODEOWNERS' if $@;

codeowners_syntax_ok();
done_testing;

DESCRIPTION

This package has assertion subroutines for testing CODEOWNERS files.

FUNCTIONS

codeowners_syntax_ok

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

codeowners_git_files_ok();  # use git repo in cwd
codeowners_git_files_ok($repopath);

BUGS

Please report any bugs or feature requests on the bugtracker website https://github.com/chazmcgarvey/File-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.

AUTHOR

Charles McGarvey <chazmcgarvey@brokenzipper.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2021 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.