1Test2::Plugin::UUID(3)User Contributed Perl DocumentationTest2::Plugin::UUID(3)
2
3
4
6 Test2::Plugin::UUID - Use REAL UUIDs in Test2
7
9 Test2 normally uses unique IDs generated by appending pid, thread-id,
10 and an incrementing integer. These work fine most of the time, but are
11 not sufficient if you want to keep a database of events, in that case a
12 real UUID is much more useful.
13
15 use Test2::Plugin::UUID;
16
17 This is also useful at the command line for 1-time use:
18
19 $ perl -MTest2::Plugin::UUID path/to/test.t
20
22 The source code repository for Test2-Plugin-UUID can be found at
23 https://github.com/Test-More/Test2-Plugin-UUID/.
24
26 Chad Granum <exodist@cpan.org>
27
29 Chad Granum <exodist@cpan.org>
30
32 Copyright 2019 Chad Granum <exodist@cpan.org>.
33
34 This program is free software; you can redistribute it and/or modify it
35 under the same terms as Perl itself.
36
37 See http://dev.perl.org/licenses/
38
39
40
41perl v5.32.0 2020-07-28 Test2::Plugin::UUID(3)