You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2018/05/01 21:33:59 UTC

[GitHub] rob05c opened a new issue #2201: Add Integration Tests

rob05c opened a new issue #2201: Add Integration Tests
URL: https://github.com/apache/incubator-trafficcontrol/issues/2201
 
 
   We should add integration tests for Grove.
   
   Most of the code arguably can't be usefully unit tested, but integration tests are very valuable, to verify HTTP requests to the app respond as expected.
   
   Specifically, we should add tests which start the app with a given config, and then verify that curls return the expected responses.
   
   This probably requires an integration test framework, which doesn't currently exist.
   
   I recommend Docker. Create a Dockerfile for the Grove app, then a simple Bash script can drop test files on a container in the same Docker Network and run them against it.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services