[Interest] Is there a way to simulate serial port data?

Konrad Rosenbaum konrad at silmor.de
Tue Mar 28 21:36:54 CEST 2017


Hi,

On Tuesday 28 March 2017 13:23:01 Roland Hughes wrote:
> I have to ask, why is it such a sin to have a stand alone program with a
> null modem cable and mini-tester as a testing tool. I have been working
> with serial ports off and on since the days of DOS 3.x and have always
> tested in this manner. The first piece of code one writes on a project
> which needs external inputs is the test tool to generate 1-N pre-defined
> inputs. There "should" be one laying around at the shop which was
> originally used to validate the product.

This is a great method to develop or diagnose software. When it comes to 
testing... not exactly a sin, but short sighted: it's rather hard to set up 
an automated test system with specific hardware attached to each and every 
test node.

> If you are dealing with a bug that only bites you ever so many years, I
> will leave you with this thought.

Especially those should be added to regression tests - otherwise you'll 
spend the same amount of time diagnosing it the next time.


	Konrad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170328/f3de0320/attachment.sig>


More information about the Interest mailing list