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 81073 - Add a submenu Test to run the j2MEUnit tests and only compile and include them when invoking this action
Summary: Add a submenu Test to run the j2MEUnit tests and only compile and include the...
Status: NEW
Alias: None
Product: javame
Classification: Unclassified
Component: Build System (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Petr Suchomel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-25 14:12 UTC by ieising
Modified: 2009-10-01 13:25 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ieising 2006-07-25 14:12:11 UTC
Hi,

I think that all test classes (in a separate test directory) should be always
excluded from a build unless you specifically invoke the action Test (similar to
debug and run) action. This would create the test-harnes and run the test
application.

Iwan
Comment 1 Adam Sotona 2007-06-06 10:55:22 UTC
This is more complex issue.
Test execution requires modified application descriptor, list of resources,
different source filtering, modified compilation, disabled obfuscation, etc...
From my point of view this scenario matches a different project configuration
for test purposes. Once you specify different "test" configuration you can
include/exclude test sources from compilation by single checkbox or using
preprocessor command //#condition