NAME
Lab::Moose::Connection::Mock - Mock connection, supplying instrument responses from a log file
VERSION
version 3.920
SYNOPSIS
use
Lab::Moose;
my
$instrument
= instrument(
type
=>
'some_instrument'
,
connection_type
=>
'Mock'
,
connection_options
=> {
log_file
=>
'log.yml'
},
# or log_fh => $fh,
);
DESCRIPTION
Mock connection object for unit testing. Uses a log recorded previously with a real instrument using Lab::Moose::Instrument::Log.
COPYRIGHT AND LICENSE
This software is copyright (c) 2024 by the Lab::Measurement team; in detail:
Copyright 2016 Simon Reinhardt
2017 Andreas K. Huettel, Simon Reinhardt
2020 Andreas K. Huettel
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.