Java, *NIX, testing, performance, e-gaming technology et al
A short script to stop Tomcat, and then restart it.
#! /bin/sh set -eu while [ $(netstat -na | grep -c 8080) -ne 0 ] ; do echo "Stopping Catalina..." catalina.sh stop sleep 3s done catalina.sh jpda start
A first draft of a JUnit @Rule that create the test context. This can be used with the Spring context rule for this post to create a complete Spring context for integration tests.