1Test::Stream::Compare::UMseetra(C3o)ntributed Perl DocumTeenstta:t:iSotnream::Compare::Meta(3)
2
3
4
6 Test::Stream::Compare::Meta - Check library for meta-checks
7
9 This distribution is deprecated in favor of Test2, Test2::Suite, and
10 Test2::Workflow.
11
12 See Test::Stream::Manual::ToTest2 for a conversion guide.
13
15 Sometimes in a deep comparison you want to run extra checks against an
16 item down the chain. This library allows you to write a check that
17 verifies several attributes of an item.
18
20 blessed
21 Lets you check that an item is blessed, and that it is blessed into
22 the expected class.
23
24 reftype
25 Lets you check the reftype of the item.
26
27 this
28 Lets you check the item itself.
29
30 size
31 Lets you check the size of the item, for an arrayref this is the
32 number of elements, for a hashref this is the number of keys, for
33 everything else this is undef.
34
36 The source code repository for Test::Stream can be found at
37 http://github.com/Test-More/Test-Stream/.
38
40 Chad Granum <exodist@cpan.org>
41
43 Chad Granum <exodist@cpan.org>
44
46 Copyright 2015 Chad Granum <exodist7@gmail.com>.
47
48 This program is free software; you can redistribute it and/or modify it
49 under the same terms as Perl itself.
50
51 See http://dev.perl.org/licenses/
52
53
54
55perl v5.38.0 2023-07-21 Test::Stream::Compare::Meta(3)