
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. If we...
0 replies - 2363 views - 05/16/13 by Hubert Klein Ikkink in Articles

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...
0 replies - 3214 views - 05/14/13 by Hubert Klein Ikkink in Articles

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...
0 replies - 7006 views - 04/25/13 by Martin Fowler in Articles

Using Groovy to test not only other Groovy classes but also Java classes
is an increasing popular approach given frameworks like Spock which
facilitate...
0 replies - 4580 views - 04/15/13 by Geraint Jones in Articles

Problem with mappings
In our project we came across a really big problem related to mapping.
Having two systems that initially were defined by the BA to...
0 replies - 3602 views - 04/11/13 by Marcin Grzejszczak in Articles

Media Queries are a HackA thoughtful take on how CSS could achieve true modularity for responsive sites -- not through media queries, but element...
0 replies - 6271 views - 04/05/13 by Allen Coin in Articles

We can configure Spring beans using several methods in Grails. We can for example add them to grails-app/conf/spring/resources.xml using Spring's XML syntax....
0 replies - 3951 views - 03/25/13 by Hubert Klein Ikkink in Articles

In my previous blog post, I looked at using JMX as one of multiple methods supported by GlassFish 3 for its administration, monitoring, and management. In this...
0 replies - 4325 views - 03/19/13 by Dustin Marx in Articles

We can define extra Spring beans for our Grails application in grails-app/conf/spring/resources.groovy using a DSL. For example we want to use third-party...
0 replies - 2569 views - 03/18/13 by Hubert Klein Ikkink in Articles

We can define new bean definitions in several ways with Grails. One of them is via the grails-app/conf/spring/resources.groovy
file. This file is parsed and...
0 replies - 2841 views - 03/12/13 by Hubert Klein Ikkink in Articles

In previous blog posts I have looked at Searching JAR Files with Groovy to find entries (such as .class files) contained in the JAR and Viewing a JAR's...
1 replies - 4040 views - 03/11/13 by Dustin Marx in Articles

One of the underlying frameworks of Grails is Spring. A lot of the
Grails components are Spring beans and they all live in the Spring
application context....
0 replies - 2520 views - 03/07/13 by Hubert Klein Ikkink in Articles

Groovy 2.1 introduces a new annotation to group multiple annotations and define an alias for the group. The new @AnnotationCollector
annotation is an AST...
1 replies - 2401 views - 02/19/13 by Hubert Klein Ikkink in Articles

In Groovy we can add extra functionality to a class with so-called mixins. In the previous blog post
we added extra functionality to a class, but we can also...
0 replies - 2591 views - 02/14/13 by Hubert Klein Ikkink in Articles

Groovy 2.0 brought us extension modules. An extension module is a JAR
file with classes that provide extra methods to existing other classes
like in the...
0 replies - 3714 views - 02/04/13 by Hubert Klein Ikkink in Articles