Test

These settings configure those elements of Curam which are useful for Unit Testing. None of these settings should be used in a deployed application as they will either degrade performance or cause failures.

Table 1. Test settings

Property Name

Type

Meaning

curam.test.store.entitykeys

BOOLEAN

Default: false. Specifies that the values written to the database should be stored in memory for retrieval by tests. They can be accessed through curam.util.DataAccess.KeyRepository.

curam.test.trace.statistics

BOOLEAN

Default: false. Place a compact trace of BO method invocations in a buffered log. This representation is suitable for obtaining performance measurements.

curam.test.trace.statistics.location

STRING

The name of the file which will have the statistics information generated into it.

curam.test.singleuser

BOOLEAN

Indicates whether only a single user will be active. This is the only mode supported if an IDE is used to execute Curam as a standalone Java program.

curam.test.stubdeferredprocessing

BOOLEAN

Default: false. Specifies that it needs to use deferred processing without en-queuing in App Server.

curam.test.stubdeferredprocessinsametransaction

BOOLEAN

Default: false. Specifies that stubbed deferred process calls should be run in the current transaction using the current database connection. If true, a new transaction will not be started for each stubbed deferred process call.