1Test::Excel::Template::UPsleurs(C3o)ntributed Perl DocumTeenstta:t:iEoxncel::Template::Plus(3)
2
3
4

NAME

6       Test::Excel::Template::Plus - Testing module for use with
7       Excel::Template::Plus
8

SYNOPSIS

10         use Test::More tests => 1;
11         use Test::Excel::Template::Plus;
12
13         my $template = Excel::Template::Plus->new(
14             engine   => 'TT',
15             template => 'test.tmpl',
16             config   => { INCLUDE  => [ '/templates' ] },
17             params   => { ... }
18         );
19         $template->write_file('test.xls');
20
21         # compare the file we just made with
22         # an existing example file ...
23         cmp_excel_files("test.xls", "t/xls/test.xls", '... the excel files matched');
24

DISCLAIMER

26       This module is woefully incomplete. It works for my very basic purposes
27       right now, but it is surely going to need lots or work in the future to
28       make it really usable.
29

DESCRIPTION

31       This module attempts to provide a means of testing and comparing
32       dynamically generated excel files. Currently it only supports comparing
33       two excel files for some approximation of strutural (values within
34       cells) and visual (formatting of said cells) equivalence.
35
36       As a by product of the implementation, elements may get compared which
37       don't really need comparing, and things which do need comparing may be
38       skipped. This will get refined as time goes by and the module is used
39       in more heavyweight situations.
40

FUNCTIONS

42       cmp_excel_files($file1, $file2, $msg)
43

BUGS

45       All complex software has bugs lurking in it, and this module is no
46       exception. If you find a bug please either email me, or add the bug to
47       cpan-RT.
48

AUTHOR

50       Stevan Little <stevan@cpan.org>
51
53       Copyright 2007-2014 by Infinity Interactive, Inc.
54
55       <http://www.iinteractive.com>
56
57       This library is free software; you can redistribute it and/or modify it
58       under the same terms as Perl itself.
59
60
61
62perl v5.30.1                      2020-01-30    Test::Excel::Template::Plus(3)
Impressum