Issue Details (XML | Word | Printable)

Key: SHALE-193
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Wendy Smoak
Reporter: Wendy Smoak
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Shale

Provide a reusable TestSetup class that starts and stops a servlet container

Created: 16/Jun/06 11:47 AM   Updated: 21/Aug/06 11:28 PM
Return to search
Component/s: Test
Affects Version/s: None
Fix Version/s: 1.0.3


 Description  « Hide
In order to automate functional and integration tests, we need a TestSetup class that can start a servlet container before the tests, and stop it afterwards.

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
Struts #415096 Sun Jun 18 05:46:26 UTC 2006 wsmoak [SHALE-193] Added CargoTestSetup to start and stop a container for integration testing.
Shale Test now has an optional dependency on Cargo.
Files Changed
MODIFY /struts/shale/trunk/shale-test/pom.xml
ADD /struts/shale/trunk/shale-test/src/main/java/org/apache/shale/test/cargo
ADD /struts/shale/trunk/shale-test/src/main/java/org/apache/shale/test/cargo/CargoTestSetup.java

Repository Revision Date User Message
Struts #415099 Sun Jun 18 06:11:04 UTC 2006 wsmoak Adapt the Shale Blank system integration test to use the new CargoTestSetup added to Shale Test in SHALE-193.
To run the tests, enable the 'itest' profile: mvn install -Pitest
TODO: Determine how to stop Tomcat from writing SESSIONS.ser to ${basedir} (the shale-blank directory).
Files Changed
MODIFY /struts/shale/trunk/shale-apps/shale-blank/pom.xml
MODIFY /struts/shale/trunk/shale-apps/shale-blank/src/test/java/org/apache/shale/blank/systest/WelcomeTestCase.java
ADD /struts/shale/trunk/shale-apps/shale-blank/src/test/java/org/apache/shale/blank/systest/Tomcat5xWelcomeTestCase.java