2011-05-31 Development Sprint
General Info
Topic: Automated Release Testing
Lead(s): @Ben Wolfe
Date: May 31st - June 12th 2011
Kickoff Meeting: 10am ET, Monday May 31st (find your timezone)
Group Chat
via IRC on the #openmrs-sprint channel on freenode.
Use this channel for ALL debugging and random questions having to do with the sprint. Please avoid direct messaging to personal contacts. If you have a question, someone else probably does too, and our geographically distributed community benefits from public group discussion.
About
The goal of this sprint is to create a suite of unit tests that test web layer functionality.
Initial testing should focus on automating the Rudimentary Testing within Testing Releases
All code should be worked on in this branch: http://svn.openmrs.org/openmrs/branches/webapp-testing
1 minute overview
The goal of the release testing is to create a set of "stories" about what we want to test. Example story.
There is then a java class that works uses that story template to execute the test. Example java and Example step reading the template.
Webdriver, jetty, and selenium are used behind the scenes to script and execute the actual steps/test
Running the tests
First give maven more memory to work with:
export MAVEN_OPTS="-Xmx1024m -Xms256m -XX:MaxPermSize=256m"
To run all tests:mvn clean integration-test -DskipTests -P integration-test
To run tests against a pre-defined db (and specific tests):mvn clean integration-test -DskipTests -P smoke-test -Dtest=CreateAnEncounter
How to Participate
Add your name to the list on this wiki page (with any comments about your availability). If you want to join after the sprint has started just join the IRC channel mentioned above and say hello.
The general process:
Pick a ticket from the available tickets in the top-left of the dashboard.
If you have any questions about the ticket, ask on the group irc chat
Do the ticket
Either:
Participants
@Darius Jazayeri
@Ben Wolfe
@Wyclif Luyima
@Daniel Kayiwa
@raff
Add your name here
Please try to attend the kickoff meeting (see above for timing).
Tickets and Work Items
See this sprint's JIRA dashboard
All tickets with fix version of "Sprint 1" in the APPTEST project.
Other Resources
checkout: http://svn.openmrs.org/openmrs/branches/webapp-testing
browse: https://source.openmrs.org/browse/OpenMRS/webapp-testing
Zabil's initial email about the patch: http://openmrs-mailing-list-archives.1560443.n2.nabble.com/no-subject-td6207156.html
TODO: add more resources