Automated Functional Testing
Here are the steps to take to start using the automated test script
developed by your TA.
-
Download the test script. Follow the instructions in the README.md
file to install python3, pip, and the "requests" package.
-
Download the test data in the same directory.
-
Uncompress and untar the test data file; this will create a directory
called test-data that holds all the test files.
-
Start the server that accepts and responds to REST requests for your
application. The test script assumes that the server is running at
http://localhost:8080/parkpay
-
Run the test script
$ python3 testcli.py
Any questions/commments about the script? Please let the TA and your
instructor know.
|