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.
Summary: | Generate run-single-test target for freeform projects | ||
---|---|---|---|
Product: | java | Reporter: | Tomas Danek <musilt2> |
Component: | Freeform | Assignee: | Tomas Zezula <tzezula> |
Status: | NEW --- | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
Tomas Danek
2008-09-04 15:21:11 UTC
I'd like to keep this issue so far as enhancement, since generated targets was always kind of work in progress and targets were implemented due to their importance. It could be done by hand editing generated target for running the single file by replacing <java> target by something following: <junit dir="${work.dir}" fork="true" showoutput="true"> <batchtest todir="${test.results.dir}"> <fileset dir="${test.dir}" includes="${includes}"/> </batchtest> <classpath> <path path="${run.test.classpath}"/> </classpath> <formatter type="brief" usefile="false"/> <formatter type="xml"/> </junit> Properties of course needs to be modified according to particular project or replaced by their actual values. *** Issue 127157 has been marked as a duplicate of this issue. *** *** Issue 114817 has been marked as a duplicate of this issue. *** Changing the default component owner to tzezula. |