This repository has been archived by the owner on Mar 12, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Bash script to run a complete suite while the REST service is run…
…ning #1
- Loading branch information
Showing
2 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/bash | ||
curl -H "Content-Type: application/json" -X DELETE http://localhost:8888/application/0/test-suite/0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |