jwhitehorn / pi_piper

Event driven Raspberry Pi GPIO programming in Ruby
BSD 2-Clause "Simplified" License
694 stars 71 forks source link

Examples with tests #94

Open ciembor opened 3 years ago

ciembor commented 3 years ago

Hello.

I would like to use this gem in my project, but I didn't find any information about how could I develop and test it on a machine that is not Raspberry Pi (my laptop). I mean I would like to use Rspec or Minitest, stub some events on specific pins and observe these pins in my tests to check what happened.

I will probably find a way to achieve this, but it would be much easier with some example in README.