Running in a Cloud
Introduction
If you have a cloud account like cloudbees, you will be able to run test framework on it.
The next steps are an example of deployment on cloudbees.
Maven artifacts
First you need to deploy testframework artifacts to your private repository.
You have meny options to do this, but maybe Jenkins is the easiest one.
- Create a maven task on Jenkins.
- Select https://source.sakaiproject.org/contrib/qa/tags/plugins/plugins-VERSION as source svn repository.
- Add a maven step with clean install goal.
- Check install to private cloudbees repository.
- Create a maven task on Jenkins.
- Select https://source.sakaiproject.org/contrib/qa/tags/testcases/testcases-VERSION as source svn repository.
- Add a maven step with clean install goal.
- Check install to private cloudbees repository.
Jenkins Tests
Now you can add a test task.
- Create a maven task on Jenkins.
- Select https://source.sakaiproject.org/contrib/qa/tags/testframework-VERSION as source svn repository.
- Add maven steps:
- mvn clean
- mvn test site ...
- mvn test site ...
- ...
- mvn site -Preport
- mvn package -Pwar
- Check deploy to CloudBees, choose an application id and type "target/testframework-*.war" as file pattern.
Now you have a Jenkis server like this.
You can configure test execution daily, hourly, monthly, etc...
The test results will be publish on your application's website like this.
Enjoy !!