Scripting and Testing Your Java Application with Groovy Training Course


Groovy is a dynamic optionally typed programming language that simplifies and removes the verbosity from the Java syntax.

In this instructor-led, live training, participants will learn how to use Groovy for scripting and testing their Java applications.

By the end of this training, participants will be able to:

  • Understand the fundamentals of Groovy
  • Learn the differences between Groovy and Java
  • Create, write, and run a Groovy application
  • Use the Groovy API for embedding Groovy into Java applications
  • Use Groovy with the Spock framework for testing their Java applications


  • Developers

Format of the course

  • Part lecture, part discussion, exercises and heavy hands-on practice


  • Programming experience with Java
  • General familiarity with Groovy

Course Outline


Overview of the Groovy Programming Language

Understanding the Differences Between Groovy and Java

Getting Started with Groovy

  • Installing and Setting Up Groovy
  • Creating a Groovy Project
  • Adding Frameworks to an Existing Groovy Project
  • Creating Groovy Classes
  • Writing Groovy Scripts
  • Running a Groovy Application

Exploring the Use Cases for Scripting in Java Applications

Benefits of Using Groovy for Scripting and Testing Java Applications

Using the Groovy API and Embedding Groovy into Java for Scripting

Implementing Script Re-Evaluation with Groovy

Adding Groovy Tests to an Existing Java Application Using the Spock Framework


Summary and Conclusion

Leave a Reply

Your email address will not be published. Required fields are marked *