TweetBufferToday I was trying to use JUnit 4, and JUnit 3 in a Maven archetype I was creating. I had previously added TestNG dependencies to this project. I then added JUnit in addition to the TestNG. I run mvn test and no unit tests where run. Strange! I did not get any errors even using [...]
READ MORE »Posts in category java-javaee-j2ee
Exploring Developer Support Techniques
TweetBufferI just started a new project, and came across a bank of flash videos created with a tool called Wink used to help users setup their development environments. At first I though “why not just use a Wiki”? A few days later, as it would happen, I found a WordPress plugin for creating remotely hosted [...]
READ MORE »Using testing tools to replicate QA defects for bug fixes (screencast)
TweetBufferLong has there been issues to replicate defects found by QA and user acceptance testers for the development team to understand and resolve. For several years, I have used a fairly simple tool to aid in this called Bad Boy. This tool is a browser request simulator that is simple to record and playback. First [...]
READ MORE »Using testing tools to replicate QA defects for bug fixes
TweetBufferLong has there been issues to replicate defects found by QA and user acceptance testers for the development team to understand and resolve. For several years, I have used a fairly simple tool to aid in this called Bad Boy. This tool is a browser request simulator that is simple to record and playback. First [...]
READ MORE »Agile Consulting and Coaching
TweetBufferI would like to share a new slide deck to outline a presentation I am giving to clients to identify SDLC issues, and how as an Agile Coach, I can assist them in becoming more Agile in their development practice. This can also be seen on my LinkedIn profile. Link to this post!
READ MORE »Spring Security issue: Duplicate detected.
TweetBufferSo I ran into an issue today that has been detailed at http://forum.springframework.org/showthread.php?p=193052 in the Spring forums that at first glance, looked identical to my issue. But this was in fact not my issue. First off, when I was using acegi, I declared an applicationContext-test.xml that myTestNG would instanciate. I then would import my other [...]
READ MORE »Keeping Tomcat binaries locally for integration testing on Linux
TweetBufferI ran into an issue of server timeouts with embedded Tomcat in my Maven build once I moved to my Linux Build Server. I defined the cargo plugin as that is starting my embedded Tomcat during the build: <plugin> <groupId>org.codehaus.cargo</groupId> <artifactId>cargo-maven2-plugin</artifactId> <version>1.0-alpha-4</version> <configuration> <wait>${cargo.wait}</wait> <container> <containerId>${cargo.container}</containerId> <output>${project.build.directory}/${cargo.container}.log</output> <log> ${project.build.directory}/${cargo.container}-cargo.log </log> <zipUrlInstaller> <url>${cargo.container.url}</url> <installDir>${installDir}</installDir> </zipUrlInstaller> </container> [...]
READ MORE »Deploying webapp to multiple containers
TweetBufferIn my efforts to integrate Jetty, tomcat and selenium into my Maven build for continuous integration tests, I have run into some strange issues. It seems that if I run my webapp-2.2.war in my standalone Tomcat 5.5 installation, or in my Maven integrated Jetty, I can refer to my application at my root context of [...]
READ MORE »Building Oracle BPEL suitcase from Maven
TweetBufferbpel-example I spent quite a while trying to get Maven to build our Oracle BPEL suitcases. I wanted to do this because I did not want to rely on JDeveloper to deploy the suitcases. That would also not fit into a continuous integration. The biggest issue we faced was the recursive JAR inclusion that the [...]
READ MORE »Testing XFire with TestNG
TweetBufferSo after an entire weekend of frustration with tutorials such as http://xfire.codehaus.org/JSR+181+Annotations and http://docs.codehaus.org/pages/viewpage.action?pageId=44565 I think I have come up with a way to test XFire services deployed through Tomcat during my Maven build. So I created an annotated version of an Echo Service: package com.baselogic.service; import javax.jws.WebMethod; import javax.jws.WebParam; import javax.jws.WebResult; import javax.jws.WebService; import [...]
READ MORE »
