Commit Graph

9 Commits (8a9a32fa6b8323663587291285e5846ddbaa99f1)

Author SHA1 Message Date
Roberto Hueso Gómez 8a9a32fa6b Add test for /run/schedule
This test covers a correct request.
2020-01-19 20:18:14 +01:00
Roberto Hueso Gómez a5ce597196 Add test for non-existent function 2020-01-19 20:18:14 +01:00
Roberto Hueso Gómez 65a5c95cc2 Add test for sequential /shell/run requests
This also fixes test bugs in the cases:
- Malformed json
- No json
2020-01-19 20:18:14 +01:00
Roberto Hueso Gómez 2c5e477dfb Add /probe tests for multiple probes and extra parameter in json 2020-01-19 20:18:14 +01:00
Roberto Hueso Gómez 025e4da5a9 Remove unnecessary variables from test server 2020-01-19 20:18:14 +01:00
Alvaro Neira Ayuso 05b1088827 Include License header 2020-01-19 19:50:44 +01:00
Roberto Hueso Gómez df98db2c3c Add /shell/run tests
These tests cover:
- Correct request with echo
- Correct request without echo
- No json request
- Malformed json request
2020-01-19 19:50:44 +01:00
Roberto Hueso Gómez 23cc1e6b86 Add /probe tests
These tests cover:
- Correct request
- No json request
- Malformed json request
2020-01-19 19:50:44 +01:00
Roberto Hueso Gómez bb65bd7bf0 Add unit testing basic structure 2020-01-19 19:50:44 +01:00