NAME

Test::OpenTracing::Interface::Tracer - compliance testing

SYNOPSIS

use Test::OpenTracing::Interface::ContextReference qw/:all/;

can_all_ok 'MyImplementation::ContextReference',
    "MyImplementation class does have all subs defined, well done!";

# lets be a bit fancy, a proper Implementation should have a C<bootstrap>
# method to setup a Tracer, lets see if that works too:

use MyImplementation;

my $test_thing = MyImplementation
    ->bootstrap( @implementation_args );

can_all_ok( $test_thing,
    "An object returned by 'bootstrap' 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::Tracer are defined.

SEE ALSO

Test::OpenTracing::Interface

Test OpenTracing::Interface compliance.

OpenTracing::Interface::Tracer

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.