concept spring context in category java

appears as: Spring context, Spring context
Java Testing with Spock

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

In this listing, you can see that all testing facilities and annotations are already offered by Spring. Spock automatically understands that this file uses a Spring context and allows you to obtain and use Spring beans (in this case, ProductLoader) as in normal Java code.

Figure 7.7. Spring context for tests uses an in-memory database and no GUI classes.