NAME

Myriad::Test - a collection of helpers to test microservices.

SYNOPSIS

use Test::Myriad;

my $mock_service = add_service(name => 'mocked_service');

DESCRIPTION

Methods

add_service

Adds a service to the test environment the service can be an already existing service or totally a new mocked one.

it takes one of the following params:

  • service - A package name for an existing service.

  • name - A Perl package name that will hold the new mocked service.

AUTHOR

Deriv Group Services Ltd. DERIV@cpan.org.

See "CONTRIBUTORS" in Myriad for full details.

LICENSE

Copyright Deriv Group Services Ltd 2020. Licensed under the same terms as Perl itself.