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.

Testing

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))
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.