diff --git a/scripts/delete-test-suite.sh b/scripts/delete-test-suite.sh new file mode 100644 index 0000000..0648c0f --- /dev/null +++ b/scripts/delete-test-suite.sh @@ -0,0 +1,2 @@ +#!/bin/bash +curl -H "Content-Type: application/json" -X DELETE http://localhost:8888/application/0/test-suite/0 \ No newline at end of file diff --git a/scripts/runcompleterestservicetest.sh b/scripts/runcompleterestservicetest.sh new file mode 100644 index 0000000..2f796d1 --- /dev/null +++ b/scripts/runcompleterestservicetest.sh @@ -0,0 +1,52 @@ +#!/bin/bash +echo "List applications, should be empty:" +bash applications.sh +echo "" +echo "Request application, should not be found:" +bash application.sh +echo "" +echo "Request test suites, should not be found:" +bash test-suites.sh +echo "" +echo "Request test suite, should not be found:" +bash test-suite.sh + +echo "" +echo "Create application, should work:" +bash create-application.sh +echo "" +echo "List applications, should contain one element:" +bash applications.sh +echo "" +echo "Request application, should be found and contain test suites:" +bash application.sh +echo "" +echo "Request test suites, should be found and empty:" +bash test-suites.sh +echo "" +echo "Request test suite, should not be found:" +bash test-suite.sh + +echo "" +echo "Create test suite, should work:" +bash create-test-suite.sh +echo "" +echo "Request test suites, should be found and contain one test suite:" +bash test-suites.sh +echo "" +echo "Request test suite, should be found:" +bash test-suite.sh + +echo "" +echo "Delete test suite, should work:" +bash delete-test-suite.sh +echo "" +echo "Request test suite, should not be found:" +bash test-suite.sh + +echo "" +echo "Delete application suite, should work:" +bash delete-application.sh +echo "" +echo "Request test suite, should not be found:" +bash application.sh \ No newline at end of file