Giter VIP home page Giter VIP logo

Comments (5)

zsquareplusc avatar zsquareplusc commented on June 6, 2024

As the tests on the CI server currently only run with the software loop-back interface, there is no platform dependent code tested. Therefore running the tests under different OS is not likely to produce a better test coverage.

A test involving the platform dependent code is probably not possible using these CI services as there are no "real" serial ports on these machines (neither physical ones nor virtualized ones on the VM level). So a test could not do much more than just import the module...

from pyserial.

The-Compiler avatar The-Compiler commented on June 6, 2024

Maybe something like com0com could be used to emulate a serial port?

from pyserial.

zsquareplusc avatar zsquareplusc commented on June 6, 2024

Such a virtual com port may work (if they allow to install drivers / Admin rights).

However you could still ask if you test the extra driver or the pySerial code interfacing to the operating system. Saying that, for a good test coverage there should probably be a number of different ports to test (internal UARTs, multiple USB-Serial converters, virtual com ports, ...).

from pyserial.

The-Compiler avatar The-Compiler commented on June 6, 2024

Might be worth setting up a raspberry pi and buildbot then 😉

(I'd like to help with that, but I don't have the time I'm afraid)

from pyserial.

bufferoverflow avatar bufferoverflow commented on June 6, 2024

How do you build the Windows Installers provided over here: https://pypi.python.org/pypi/pyserial ?

from pyserial.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.