Skip navigation.

Archives

Surviving Mock Abuse - My Entirely Arbitrary & Unproven Guidelines For Safe Mocking

There's no doubt at all that mock objects are a powerful tool in our quest for high levels of unit test assurance, and can be very helpful in the test-driven design process.

But they can come at a price. If we overdo it, and abuse mocks, then we can end up thwarting our goal of making code easier to change.

The danger with mocking is that we are making assertions about interactions, which are often an internal design detail.

PMD: 4.2.3 is released

PMD is a Java source code analyzer. It finds unused variables, empty catch blocks, unnecessary object creation, and so forth. This release fixes a few bugs in the 4.2.2 version but does not introduce major changes. The refactoring effort that will lead to PMD 5.0 has been started on the main trunk (5.0 will not be backward compatible with PMD 4.x). There may be other 4.2.x versions with minor fixes if needed until 5.0 is released.

curl-loader version 0.46 released

curl-loader is an open-source tool written in C-language, simulating application load and application behavior of thousands and tens of thousand HTTP/HTTPS and FTP/FTPS clients, each with its own source IP-address. This is mainly bug-fix version, including advancing to curl-7.19.0 library with many bug fixes in FTP and multi-transfer areas.