Welcome to Serial Mock’s documentation!

I wrote SerialMock in order to make testing interfaces with devices a bit easier. I felt like there was no good existing solution to this problem you can install it with any one of

Requirements

  • Python2.7

  • a serial port to bind to (whether it is a hardware null modem or software should not matter).

    • in general you can use com0com for windows systems, and socat for *nix systems in order to create a software null modem

Installation

setup.py install
or pip install .
or install it from pipy with pip install serial_mock
or directly from github pip install git+https://github.com/joranbeasley/SerialMock.git

Examples

Indices and tables