Testing
How to run your tests only once during a Maven-based release
Submitted by Ansgar.Konermann on November 13, 2011 - 22:34Maybe you also observed that maven-release-plugin executes all tests twice when you run release:prepare release:perform. This short HOWTO explains why this happens in the first place and demonstrates how you can get rid of the extra test run and save some time during release.
Beware: now().equals(now()) might yield false
Submitted by Ansgar.Konermann on June 23, 2010 - 18:56Using time-dependent data
I stumbled across a piece of code the other day, allowing some versioned entity from our domain model to find out whether it's valid from a certain point in time. The corresponding test failed sporadically, so I went and looked into it.

Recent comments
9 weeks 6 days ago
32 weeks 2 days ago
34 weeks 6 days ago
45 weeks 6 days ago
45 weeks 6 days ago
46 weeks 4 days ago
47 weeks 4 hours ago
1 year 10 weeks ago
1 year 10 weeks ago
1 year 10 weeks ago