Post Deployment Test Run
There are various strategies for running tests using Charlotte. All of them require the application being tested to be hosted on a server somewhere. A common strategy for testing is to trigger tests right after an application has been deployed. Charlotte allows you to execute this strategy using the Dependency deployment Task. When you place this task at the end of your deployment, it allows you to trigger a Bamboo plan that will run your tests against the deployed application.
Steps
- Create a build plan that runs Charlotte tests. The trigger for this build plan should be manual (Meaning the tests only run when they are manually triggered)
- Create a deployment plan for your application. The plan deploys your application to your dev, qa, staging or production environment.
- Add Charlotte's dependency Task at the end of your deployment task in step 2 and select the build plan you created in step 1 as the plan to be triggered.