Overview

The Pineapple test utilities project contains test classes which are reusable in tests of the Pineapple project.

The projects contains:

  • Test code:
    • Spring test execution listener classes which supports creation of test directories and accessing the names of executing test methods.
    • EasyMock class for mocking Spring MessageSource which logs requested messages.
    • Object mothers - factory classes which produces configured objects ready to be used in tests.
    • A plugin to be used in unit tests.
  • Test configurations:
    • Spring application context configuration which contains mock plugin providers.
    • Log4j configuration for unit and integration tests.
    • A test schema.

Usage

Instructions on the usage of the project can be found here.