concept runtime environment in category java

appears as: runtime environment
Java Testing with Spock

This is an excerpt from Manning's book Java Testing with Spock.

Groovy is a dynamic language that runs in the same Java Virtual Machine (JVM) as Java. Java supporters are proud of the JVM, and some believe that the value of the JVM as a runtime environment is even higher than Java the language. Spock is one example of the power the JVM has to accommodate code from different programming languages.

Spock offers a set of smarter @Ignore annotations that allow you to skip tests dynamically (by examining the runtime environment). As a first step, Spock allows a test to query the following: