• submit to reddit
Hubert Klein Ikkink05/21/13
1983 views
0 replies

Spocklight: Writing Assertions for Arguments Mock Methods

In Spock we can get a hold on the arguments that are passed to method call of a mock and we can write assertions to check the parameters for certain conditions.

Hubert Klein Ikkink05/16/13
3092 views
0 replies

Gradle Goodness: Running a Single Test

We can run test code with Gradle using the test task that is added by the Java plugin. By default all tests found in the project are executed.

Hubert Klein Ikkink05/14/13
3844 views
1 replies

Gradle Goodness: Show More Information About Failed Tests

Running tests in Gradle is easy. Normally if one of the tests fails the build fails as well. But we don't see immediately in the command-line output why a test fails.

Keuller Magalhães05/11/13
1582 views
1 replies

Grails 2.2.2 and 2.3 M1 Released!

The Grails team is extremely pleased to announce the releases of Grails 2.1.5 and 2.2.2 and 2.3 M1.

Mitch Pronschinske04/30/13
17778 views
4 replies

Java EE 7 Approved!

Java EE 7 is officially done as of this week. Linda DeMichiel just announced on the Oracle blog that the Java EE 7 Platform JSR, as well as the more compact Web Profile JSR for this EE version, have both been approved by the Java Community Process.

Claus Ibsen04/30/13
5883 views
0 replies

Apache Camel 2.11 Unleashed!

This blog post is a summary of the most noticeable new features and improvements in Camel 2.11. For example there is camel-cmis which allows to integrate with content management systems, such as Alfresco, or any of the systems supported by Apache Chemistry, which is what we use in camel-cmis.

Chanwit Kaewkasi04/28/13
4130 views
0 replies

Develop a MongoDB Application with ZK & Grails

This article shows how to develop a MongoDB application quickly with ZK & Grails.

Martin Fowler04/25/13
7159 views
0 replies

Broad-Stack Tests

A broad-stack test is a test that exercises most of the parts of a large application. It's often referred to as an end-to-end test or full-stack test. It lies in contrast to a ComponentTest, which only exercises a well-defined part of a system.

Nick Johnson04/16/13
14788 views
0 replies

Algorithm of the Week: Fountain Codes (from "Damn Cool Algorithms")

Today's subject is Fountain Codes, otherwise known as "rateless codes". A fountain code is a way to take some data - a file, for example - and transform it into an effectively unlimited number of encoded chunks, such that you can reassemble the original file given any subset of those chunks...

Geraint Jones04/15/13
4755 views
0 replies

Mocking Static Methods in Groovy

Using Groovy to test not only other Groovy classes but also Java classes is an increasing popular approach given frameworks like Spock which facilitate Test Driven and Behaviour Driven Development.

Mitch Pronschinske04/11/13
4260 views
0 replies

Links You Don't Want To Miss (4/12)

A node v. php v. go benchmarking session and some cool CSS and Mac tools make up this link list. Plus GitHub turns 5 and we get a demo of quantum levitation.

Marcin Grzejszczak04/11/13
3748 views
0 replies

Execution of Groovy Scripts from Java - XmlSlurper and MarkupBuilder in Mapping Issues

In our project we came across a really big problem related to mapping. Having two systems that initially were defined by the BA to be somehwat simillar we have chosen the simple XSLT (done through Altova Mapforce) of the input message to the output one.

Nitin Kumar04/09/13
2544 views
0 replies

Grails Key Considerations on NFR

Grails builds on several well-established software frameworks, and combines their functionality via Groovy. These frameworks include Java Enterprise Edition (Java EE, JEE), spring, Hibernate and Quartz.

Allen Coin04/05/13
6391 views
0 replies

Links You Don't Want To Miss (4/5)

Today: Programming is terrible, but what can you do about it? An interview with Alan Key, the new Facebook Home, and the story behind O'Reilly's book cover animals.

Nitin Kumar04/04/13
4805 views
0 replies

Grails Best Practices

Grails is designed to be an interactive agile based rapid development framework based on convention not configuration. Agile means you can start anywhere you like, refactor, make changes, and still . . .