Recent Posts

A Kanban and Scrum workflow with JIRA Agile

A Kanban and Scrum workflow with JIRA Agile

JIRA Agile has come a long way from the days of the GreenHopper plugin. It’s now pretty well integrated into JIRA and I’ve found it great for running an Agile workflow. JIRA Agile supports both Scrum and Kanban boards so you can manage your tickets […]

Calculating distance with a Java 8 Collector

Calculating distance with a Java 8 Collector

In a previous post I showed a way to calculate the total distance of a GPX track using Scala’s foldLeft. Continuing my current hobby of exploring the new Java 8 lambdas and streams API I thought I would see how the functional approach translated to […]

Generating random mobile numbers with Java 8

Generating random mobile numbers with Java 8

Use Java 8’s lambdas and streams to generate random test data.

Run multiple Gatling simulations with Maven

Run multiple Gatling simulations with Maven

Gatling is nice load testing framework that uses Scala, Akka and Netty. It’s so much better than JMeter. It’s pretty easy to get started with scenarios written in a nice Scala DSL and it produces useful reports too. It also has a Maven plugin so […]

Generating random mobile numbers with Scala

Generating random mobile numbers with Scala

Sometimes in testing we need to generate random data. When it comes to generating mobile numbers it would be helpful if we could be sure they aren’t allocated to a real person, just in case we accidentally send 1000 text messages to random phone numbers. […]

Calculating distance with Scala’s foldLeft

Calculating distance with Scala’s foldLeft

I wanted a way to calculate the total distance of a GPS track. A track is basically just a list of lat,long pairs – represented in Scala by the following:

One way to do this would be to iterate over the sequence, calculating the […]