Spock Testing Framework

Published September 8th, 2010 Under Functional Testing | Leave a Comment

Spock is a behavior driven development framework for Java and Groovy applications. What makes it stand out from the crowd is its beautiful and highly expressive specification language. Thanks to its JUnit runner, Spock is compatible with most IDEs, build tools and continuous integration servers. This video gives a talk and practical demonstration on the Spock testing framework.

http://skillsmatter.com/podcast/java-jee/spock-testing-framework

Industrial Strength Groovy

Published May 25th, 2010 Under Configuration Management | Leave a Comment

Paul King presents some of the tools helping one programming in Groovy: Cobertura – code coverage, CodeNarc – code style, EasyB – acceptance tests, GroovyDoc – documentation, GroovyMock/Spock – mocking and testing, Hudson – CI builds, Maven/Ant/Gant/Gradle – build files, OSGi – bundles, and Spring/Guice – dependency injection.

http://www.infoq.com/presentations/Industrial-Strength-Groovy

Grails Plugin Testing

Published May 3rd, 2010 Under Functional Testing | Leave a Comment

In the last year or two, there has been a veritable explosion in the number of Grails plugins out there. Without proper testing, however, they run the risk of falling into disuse as users avoid them. In this interactive session, we will use several techniques to test different aspects of a Grails plugin. This will include functional testing via Selenium RC and testing of scripts.

http://skillsmatter.com/podcast/java-jee/grails-plugin-testing

Gradle Deep Dive

Published December 30th, 2009 Under Configuration Management | Leave a Comment

Gradle combines the flexibility of Ant with a build-by-convention approach a la Maven. But both implemented in a more powerful and less restrictive way. In this session you will learn about Gradle’s rich domain model, which provides a true build language. Hans will explain how Gradle offers the abstractions that Ant misses, without the restrictions and obstacles of a rigid framework. Through examples, Hans will also show how Gradle is particularly suitable for enterprise builds and how it supports many optimization strategies that enable fast, yet reliable development. During his demo, Hans will introduce Gradle with a simple ‘hello world’ build and then work with a plain Java and a Java Web project. From there we go to a more complex multi-project build, during which we will discuss major Gradle features.

http://skillsmatter.com/podcast/ajax-ria/gradle-deep-dive

Testing Grails Applications with Selenium RC

Published November 25th, 2009 Under Functional Testing | Leave a Comment

Selenium Remote Control (RC) is a test tool that allows you to write automated web application UI tests in any programming language against any HTTP website using any mainstream JavaScript-enabled browser. In this session, Rob Fletcher gives a talk on his experience using Selenium RC with the Grail framework.

http://skillsmatter.com/podcast/java-jee/testing-grails-applications-with-selenium-rc

Boosting Your Testing Productivity with Groovy

Published January 12th, 2009 Under Uncategorized | Leave a Comment

Everyone knows that testing takes time, but you shouldn’t skip testing because of a hard-to-meet deadline. What can you do to be sure you’ll have the following weekend free without worrying that a sudden call will spoil the fun? The answer is to let your testing code be groovier. This session discusses Groovy, a dynamic language for the JVMâ„¢ machine whose close integration with the Javaâ„¢ programming language makes it ideal for testing purposes. With Groovy you can write less code and be more expressive, you can leverage your knowledge of JUnit extensions (such as dbUnit or XMLUnit) to speed up development, and it is also TestNG-friendly.

Grails eXchange 2007: Unit Testing and Mock Objects with Groovy

Published August 11th, 2008 Under Software Testing, Unit Testing | Leave a Comment

Unit testing is a first-class developer duty with even higher priority in dynamic languages like Groovy. During this talk at the Grails eXchange 2007, Dierk explained the built-in features that Groovy provides for unit testing ranging from basic tests as known from JUnit, through Groovy specific testing strategies, up to advanced testing with the help of Groovy’s stubs and mocks. Special attention was given to Grails related unit test questions.

Dierk König works as a senior software developer, mentor and coach for Canoo Engineering AG in Basel, Switzerland. He is a committer to Groovy and to Grails and project manager of Canoo WebTest. Dierk is also the author of Groovy in Action.

keep looking »