Automated Functional Testing


Here are the steps to take to start using the automated test script developed by your TA.

  1. Download the test script. Follow the instructions in the README.md file to install python3, pip, and the "requests" package.
  2. Download the test data in the same directory.
  3. Uncompress and untar the test data file; this will create a directory called test-data that holds all the test files.
  4. 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
  5. Run the test script
          $ python3 testcli.py
        

Any questions/commments about the script? Please let the TA and your instructor know.


Last update: Oct 29, 2018 Virgil Bistriceanu cs445 Computer Science