1. Sebastian Bub
  2. Raspberry Pi GPIO Web Control


Raspberry Pi GPIO Web Control / src / test / resources / README.md

Here are all resources for automated tests

The automated tests are only run in simulation mode. Do not change src/test/resources/gpio.conf because it's configuration has all different gpio port configurations and is checked from the src/test/resources/testscript.sh.

In start.sh there is a commented line to be used for configuration.


In order to run the test:

  • uncomment the testline in start.sh
  • start the server
  • run the testscript (it expects a curl in it's $PATH)
  • stop the server
  • (runnint the testscript multiple times will show failures (because of tests of uninitialized values))