Archives for the tag: java

The Spock Framework is one of the best unit testing frameworks compatible with JUnit. It's based on the Groovy language and it takes its capabilities to an upper level (thanks to huge AST transformations performed during compilation). You can write beautiful yet powerful tests, including but not limited to: data series, mocking, behavior testing, and detailed reporting about failed assertions. I believe that the Atlassian Clover 3.3 is the best code coverage tool for Spock-based tests. Let me

Continue reading »

I'm a Clover developer at Atlassian, and I had an opportunity to work closely with new language features introduced in Java 8 during development of Clover 3.2.0 (which has the support for Java 8). I'd like to share my impressions about a major language feature – lambda functions. I'm pretty sure you've already read a lot of articles about lambdas, and already know how they are going to reduce boilerplate code. And I totally agree with this point. I can bet that most of anonymous in-line classes

Continue reading »

Atlassian is happy to announce the launch of Clover 3.2, the latest feature release of our award-winning tool for Java code coverage and test optimization. What's new in Clover 3.2? It comes with the Java 8 language support Clover can instrument, record code coverage, and calculate metrics for new Java 8 language features such as: Lambda functions (written as "one-liner" expressions, as well as code blocks in curly braces) Method references (such as "Math::abs") Virtual extension methods

Continue reading »

Today we have a guest post from Himanshu Chhetri, a developer at Addteq (an Atlassian Expert) who works with the Configuration Management and Atlassian Solutions delivery teams. In his free time he likes to keep up to date with the latest open source projects and the devops movement. At Addteq, we have a growing list of projects that we automate using Bamboo including our website deployments,  mobile apps, J2EE project builds and others.  We're very excited about the latest iteration of Bamboo

Continue reading »

So you want your JVM’s heap…

Abstract Dumping a JVM's heap is an extremely useful tool for debugging problems with a J2EE application. Unfortunately, when a JVM explodes, using the standard jmap tool can take an inordinate amount of time to execute for lots of different reasons. This leads to extended downtime when a heap dump is attempted and even then, jmap regularly fails. This blog post is intended to outline an alternate method using standard tools in the Unix/Linux arsenal to achieve a heap dump that only requires

Continue reading »

Stable APIs? Yes, we have them.

I think we can all agree that building a software product is difficult. What's even more difficult is maintaining it. It's particularly difficult and frustrating when the APIs you've come to depend on change from under you. Changing APIs between minor releases negatively affects the developers who rely on it for their products, the customers who bought that developer's product, and the users of that product. This is a problem with many software ecosystems today and that used to be the case for plugin

Continue reading »