Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
SMILA/Development Guidelines/Howto set up test environment
< SMILA | Development Guidelines
Revision as of 06:36, 25 August 2008 by Unnamed Poltroon (Talk) (New page: == Howto set up test environment == === Introduction === There are no specific steps to do for a test environment. You only have to follow the steps, that are describted in [[SMILA/Howt...)
Howto set up test environment
Introduction
There are no specific steps to do for a test environment. You only have to follow the steps, that are describted in Howto set up dev environment. And you have to develop your tests with Junit 3.8, because at the moment the build process is running the tests with Junit 3.8, too.
Commons Logging for Tests (Junit) in Eclipse
Please add a log4j.properties to your Eclipse Configuration Folder:
sample configuration File:Log4j.properties.zip
and add to every Junit Plugin Test Launch Configuration the following VM Arguments:
-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger -Dlog4j.configuration=file:${eclipse_home}configuration/log4j.properties -Xms40m -Xmx256m
Eclipse can be configured that it will add this lines every time a Junit Test Plugin Launch Configuration is created.
Following Configuration is needed for this: