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.
Currently almost all XTest classes reside in one package. This state is becoming unreadable and it should be revamped. Three new packages should be created: org.netbeans.xtest.harness - for harness itself org.netbeans.xtest.driver - for driver classes org.netbeans.xtest.pe - for publishing engine Because of compatibility, the current code can stay in the place as it is today, but if possible, it should be moved to appropriate package as soon as possible. Also some classes have very interesting names (like NbTestConfig and NbTestConfig2). This should be avoided and refactored.
NbTestConfig2 just needs to be renamed, hopefully not refactored. Or NbTestConfig can be just deleted ;-)
Ok :-). We might eventually delete all the classes we don't use anymore. We should make a public statement, that only new way of test configuration is supported (via config files) and if nobody will complain, we might delete the unused files and rename the new ones.
Adding one more requirement - XTest should not implement business logic in Ant's build scripts -> this basically means to reimplement most of the logic from module_harness.xml, harness.xml and driver.xml in pure Java.
*** Issue 31948 has been marked as a duplicate of this issue. ***