Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cosimo/perl5-test-device-serialport
A mock object to test virtual serial port-based devices
https://github.com/cosimo/perl5-test-device-serialport
Last synced: 10 days ago
JSON representation
A mock object to test virtual serial port-based devices
- Host: GitHub
- URL: https://github.com/cosimo/perl5-test-device-serialport
- Owner: cosimo
- Created: 2010-03-03T21:54:14.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2010-09-09T22:05:18.000Z (about 14 years ago)
- Last Synced: 2023-04-21T10:38:30.234Z (over 1 year ago)
- Language: Perl
- Homepage: http://search.cpan.org/dist/Test-Device-SerialPort
- Size: 118 KB
- Stars: 6
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README
- Changelog: Changes
Awesome Lists containing this project
README
Test-Device-SerialPort
======================Test class to pretend we are working with a real device attached to serial port.
The fake object that gets created only has some methods implemented and it hasn't
the complexity of a real serial line.For now, it does what I need...
It should be interesting to subclass it to something like
Test::Device::SerialPort::Modem or T::D::S::Gsm or something like that.
Who knows?Lots of additional methods and some test cases added by Bill Birthisel.
It now runs under Windows in place of Win32::SerialPort as well as
under the OS's supported by Device::SerialPort (March 2010). Most of
the commonly used functions emulate as advertised.June, 2010: Added example that syncronizes with a free-running data stream
September, 2010: Add tied filehandle support and additional examples
INSTALLATION
To install this module type the following:
perl Makefile.PL
make
make test
make installIf you don't have make, Makefile.PL also creates pure perl scripts
to test and install (mostly for Win32 users).
SOURCE CODE REPOSITORYhttp://github.com/cosimo/perl5-test-device-serialport/
COPYRIGHT AND LICENCE
Copyright (C) 2007-2010 by Streppone Cosimo
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself, either Perl version 5.8.6 or,
at your option, any later version of Perl 5 you may have available.