| View: | [ 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 ] |
| Articles Books | Presentations |
- Testing Your Enterprise JavaBeans with Cactus by Olexiy Prokhorenko - [Clicks: 170]
Olexiy Prohorenko shows how Cactus can be used to expose Enterprise JavaBeans to JUnit test cases.
[Includes sample code]
http://today.java.net/pub/a/today/2004/12/09/testejb.html - Dec, 2004 - Unit Test Your Struts Application by Lu Jian - [Clicks: 301]
How to insert unit-testing opportunities into Struts applications.
[Includes sample code]
http://www.onjava.com/pub/a/onjava/2004/09/22/test-struts.html - Sep, 2004 - Using Apache Cactus by Kishore Kumar - [Clicks: 273]
Testing server-side components is more complicated than testing client-side code because these components interact with a container and require access to many container-managed objects such as request and session. It's possible to make a mock-up of all the container-managed objects and test the components. These mock objects provide a "clean" environment for testing that is totally isolated from the container. The other approach is to use an in-container strategy. Using this, the test code runs on a real (not mock) container and uses real container-managed objects. Both approaches have their advantages and disadvantages. Cactus is based on the in-container testing and our discussion will focus on this approach. I'll explore how to use the Cactus framework to write JUnit-based test classes for testing server-side components.
http://www.sys-con.com/story/?storyid=45834&DE=1 - Aug, 2004
- Professional Java Tools for Extreme Programming: Ant, XDoclet, JUnit, Cactus, and Maven
by Rick Hightower, Warner Onstine, Paul Visan, Damon Payne, Joseph D. Gradecki, Kate Rhodes, Robert Watkins, Erik Meade - [Clicks: 199]
The Extreme Programming (XP) methodology enables you to build and test enterprise systems quickly without sacrificing quality. In the last few years, open source developers have created or significantly improved a host of Java XP tools, from XDoclet, Maven, AntHill, and Eclipse to Ant, JUnit, and Cactus. This practical, code-intensive guide shows you how to put these tools to work - and capitalize on the benefits of Extreme Programming. Using an example pet store application, our expert Java developers demonstrate how to harness the latest versions of Ant and XDoclet for automated building and continuous integration. They then explain how to automate the testing process using JUnit, Cactus, and other tools, and to enhance project management and continuous integration through Maven and AntHill. Finally, they show you how to work with XP tools in the new Eclipse IDE. Complete with real-world advice on how to implement the principles and practices of effective developers, this book delivers everything you need to harness the power of Extreme Programming in your own projects.
Wrox, Paperback - Apr, 2004
- Enterprise Builds by Vincent Massol - [Clicks: 41]
This session presents a detailed panorama of all testing activities that happen during development. What types of tests should we write and when are they needed? How to integrate them in a continuous build process? The following topics will be covered: automated functional tests, unit testing with mock objects, integration tests (including a presentation of Cactus v2), test metrics and strategies, continuous quality improvement. We will also discuss how to include testing in the project methodology, making it a first-class citizen of development.
[TheServerSide Java Symposium]
http://www.pivolis.com/pdf/Enterprise_Builds_V1.0.pdf - May, 2004 - (PDF)