Subject: | Provide compatibility with automated environments |
Device::SerialPort is by and large not working with CPAN Testers.
It assumes that /dev/ttyS1 is available, and is generally not really
suited to being tested in an automated environment.
This failure also means that nothing else that uses Device::SerialPort
can be run in an automated testing environment either, even if serial
access is one small part of that larger system.
Please add (at the very least) support for the AUTOMATED_TESTING flag,
and skip any testing for which you can't find a resource, such as a
working physical serial port.
Alternatively, if there's some testing that can be done just using a
mocked serial port, consider using that instead.
As a second level of support, consider adding support for tests passing
without a physical serial cable, so that developers working on things
without a physical serial cable can install Device::SerialPort within
the recursive CPAN.pm installation.
In my case, I don't have serial devices on hand, because the device this
code will ultimately run on is a very expensive system sitting in an
airport server room, and as a developer I am most certainly NOT working
in an airport server room.
Thanks