- SEE ALSO
- COPYRIGHT AND LICENSE
Test::PerlTidy::XTFiles - XT::Files interface for Test::PerlTidy
use Test::PerlTidy::XTFiles; Test::PerlTidy::XTFiles->new->all_files_ok;
Returns a new
new takes an optional hash or list with its arguments.
Test::Pod::Links->new( mute => 1, perltidyrc => 'the_perltidyrc_file_to_use', );
The following arguments are supported:
By default, Test::PerlTidy will output diagnostics about any errors reported by perltidy, as well as any actual differences found between the pre-tidied and post-tidied files. Set
mute to a true value to turn off that diagnostic output.
Internally, we set the localized
$Test::PerlTidy::MUTE package variable, depending on this value.
perltidy argument can be used to specify a specific .perltidyrc config file.
skip_all so you can't have already called
all_files_ok returns something true if all files test ok and false otherwise.
Please see XT::Files for how to configure the files to be checked.
use 5.006; use strict; use warnings; use Test::PerlTidy::XTFiles; Test::PerlTidy::XTFiles->new->all_files_ok;
Use the same test file as in Example 1 and create a .xtfilesrc config file in the root directory of your distribution.
[Dirs] module = lib module = tools module = corpus/hello [Files] module = corpus/world.pm
Please report any bugs or feature requests through the issue tracker at https://github.com/skirmess/Test-PerlTidy-XTFiles/issues. You will be notified automatically of any progress on your issue.
This is open source software. The code repository is available for public review and contribution under the terms of the license.
git clone https://github.com/skirmess/Test-PerlTidy-XTFiles.git
Sven Kirmess <email@example.com>
This software is Copyright (c) 2019 by Sven Kirmess.
This is free software, licensed under:
The (two-clause) FreeBSD License