zeenix / gps-share

Utility to share your GPS device on local network
GNU General Public License v2.0
69 stars 9 forks source link

tests: Local socket functionality #26

Closed dcz-purism closed 3 years ago

dcz-purism commented 3 years ago

Following 1. from the request: https://github.com/zeenix/gps-share/issues/24#issuecomment-818672806

I wasn't really sure what to test, because mocked hardware would not test any extra paths than the stdin example is already testing. So here's the recently added functionality (local socket) tested instead.

zeenix commented 3 years ago

I wasn't really sure what to test,

Another one that would be great (but not really needed for the first release) is the dbus comms with avahi, where you'd have to mock (the used part of the) avahi service. zbus macros should make that easy.

So here's the recently added functionality (local socket) tested instead.

Cool.