June 2008
M T W T F S S
« May   Jul »
 1
2345678
9101112131415
16171819202122
23242526272829
30  

Archives

Cluster Map


ClustrMap Archive for 2008
ClustrMap Archive for 2010
ClustrMap Archive for 2008
ClustrMap Archive for 2008

Disclaimer

Opinions expressed here are entirely my own and do not reflect the position of my employer or any other entity.

The views and opinions expressed by visitors to this blog are theirs and do not necessarily reflect mine.

Creative Commons License
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.

Categories

How To: Using Apache Cactus, with EMMA on Jakarta Tomcat 6.x

Last week I had to put together a presentation on in-container unit testing and code coverage. Our development team at work is using JUnit for all their unit testing and have a good daily build system running. However all the JUnit code is run via Apache ANT outside the application server (OC4J) and hence does not tell us much. What is required is a framework that allows us to test in-container. We were also interested in code coverage. The daily build system executes a set of WinRunner RTs after each build and we want to know how much of the code is being tested. I took it upon myself to put together a small demo and presentation for the Director and VP. I wanted to showcase Apache Cactus as well as EMMA. Each by itself and also together to demonstrate how EMMA could be used to generate coverage reports from the Cactus tests as well as from other UI tests like the WinRunner scripts we regularly run. I wrote up the work I did in a How To article on my web site. In this article I show how to setup a web application under Tomcat 6.0 that uses Cactus for in-container unit testing as well as EMMA for code coverage reporting.

Read more…

Update: June 2, 2008, 2.30 a.m.  IST

My web site is currently under maintenance and will not be available till late tomorrow evening (Monday, June 2, 2008). I have removed the links to the article till the web site is up again.

– Gautam

No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.

3 comments to How To: Using Apache Cactus, with EMMA on Jakarta Tomcat 6.x

Leave a Reply

  

  

  

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>