This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 111328

Summary: Possibility to change working directory for running junit tests
Product: java Reporter: tprochazka <tprochazka>
Component: JUnitAssignee: Theofanis Oikonomou <theofanis>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description tprochazka 2007-07-30 07:09:18 UTC
I can change working directory for running aplication, but don't for junit tests.

In build-impl.xml is permanently set:

<junit dir="${basedir}" errorproperty="tests.failed" failureproperty="tests.failed"
fork="true" showoutput="true">

This is not ideal; much better would be when dir attribute will be configurable in project settings. Please.