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 59874 - Cannot run in 4.xxx junit tests created in 3.xxx
Summary: Cannot run in 4.xxx junit tests created in 3.xxx
Status: RESOLVED DUPLICATE of bug 46886
Alias: None
Product: projects
Classification: Unclassified
Component: Ant Freeform (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-11 10:07 UTC by olivieryolene
Modified: 2005-09-05 09:50 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description olivieryolene 2005-06-11 10:07:22 UTC
Hello,
I used to developp plenty of junit tests in Netbeans 3.xx, one for each java 
classes of my project.

After migration in netbeans 4., I am not able to run my junit tests any more.

I migrated my project this way :

Root
   web directory
      docroot
         my jsps

   source-code directory
      src
        com.mycompany.mypackage.myclass

      srcTest
        com.mycompany.mypackage.myclassTest   <==== my test case

From this free-form project :
  1/  I select myclassTest
  2/  I try to use <Ctrl-Alt-L> (as in Netbeans 3.) : does not work
  3/  I try to use : Menu Run/Run other/Test file : everything is grey in "Run 
other" submenu.

How can I run my tests again in 4. I have no other means than to run netbeans 
3.xxx to run my tests.

Please help. Thanks in advance,
Olivier
Comment 1 Jesse Glick 2005-06-24 11:08:07 UTC
Currently I think you need to write an Ant target to run the tests, if you are
using a freeform project. Check the online help for details, and use
nbusers@netbeans.org.

*** This issue has been marked as a duplicate of 46886 ***