ability-to-run-functional-integration-tests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Solum |
New
|
Undecided
|
Unassigned |
Bug Description
Once an app has been deployed it should be possible to run functional/
For this we need following:
- ability to specify the functional tests that we want to run in the app file
- ability to invoke functional tests against deployed app
- capture the test results
One way to achieve above things is as follows:
Modify the app file definition to include specification for running functional tests. The tests themselves could be specified similar to how currently unit tests are specified in an app file. For running the tests we can use the same code as what we are using for running unit tests. This code is currently part of solum-worker (shell.py -> unittest-app). For running functional tests, essentially we have to trigger the solum-worker after an app has been deployed. This can be achieved by sending a message from solum-deployer to solum-worker.