NAME
Test::OpenTracing::Interface::SpanContext - compliance testing
SYNOPSIS
use Test::OpenTracing::Interface::SpanContext qw/:all/;
can_all_ok 'MyImplementation::SpanContext',
"MyImplementation class does have all subs defined, well done!";
my $test_thing = MyImplementation::SpanContext->new ( ... );
can_all_ok( $test_thing,
"An object constructed by 'new' has all required subs defined"
);
DESCRIPTION
This package will provide the tests as described in Test::OpenTracing::Interface.
EXPORTED SUBROUTINES
can_all_ok
Test that all methods mentioned in OpenTracing::Interface::SpanContext are defined.
SEE ALSO
- Test::OpenTracing::Interface
-
Test OpenTracing::Interface compliance.
- OpenTracing::Interface::SpanContext
-
Defines the ContextReference.
AUTHOR
Theo van Hoesel <tvanhoesel@perceptyx.com>
COPYRIGHT AND LICENSE
'Test OpenTracing' is Copyright (C) 2020, Perceptyx Inc
This library is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0.
This library is distributed in the hope that it will be useful, but it is provided "as is" and without any express or implied warranties.
For details, see the full text of the license in the file LICENSE.