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 47540 - [40cat] Test with JUNIT in a web project
Summary: [40cat] Test with JUNIT in a web project
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Project (show other bugs)
Version: 4.x
Hardware: PC Windows ME/2000
: P2 blocker with 3 votes (vote)
Assignee: Radko Najman
URL:
Keywords:
: 42828 47620 47659 50168 53447 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-08-20 12:55 UTC by ihepda
Modified: 2005-01-21 09:38 UTC (History)
1 user (show)

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 ihepda 2004-08-20 12:55:22 UTC
[ BUILD # : 2008-08-18 ]
[ JDK VERSION : J2SE 1.5.0 ]

I want test my business class with JUnit but I can't set Test packages
Comment 1 Jan Becicka 2004-08-20 13:03:19 UTC
Reassigning to proper module for evaluation.
Comment 2 Petr Jiricka 2004-08-20 15:44:55 UTC
We will definitely want to support JUnit in web projects in the
future, changing to FEATURE.
Comment 3 Petr Jiricka 2004-08-21 13:32:36 UTC
*** Issue 47620 has been marked as a duplicate of this issue. ***
Comment 4 Petr Jiricka 2004-08-23 08:53:53 UTC
*** Issue 47659 has been marked as a duplicate of this issue. ***
Comment 5 ihepda 2004-08-23 09:16:34 UTC
This is a problem for this version. Whe a WA is created you can't 
test your classes or create a main class to do test.
In fact, if you work with a WA you can't execute a main class.
Comment 6 Petr Jiricka 2004-08-23 09:56:40 UTC
> In fact, if you work with a WA you can't execute a main class.

This is now fixed. Try the latest dev build (not beta).
Comment 7 ihepda 2004-08-23 11:53:00 UTC
when run a main class an error occour:

init:
deps-jar:
compile-single:
run-main:
java.lang.NoClassDefFoundError: ${runmain/jvmargs}
Exception in thread "main" 
Java Result: 1
BUILD SUCCESSFUL (total time: 0 seconds)

Comment 8 zikmund 2004-08-23 11:57:59 UTC
Could you please file a separate issue with description how to
reproduce it? Thanks.
Comment 9 zikmund 2004-09-24 20:29:33 UTC
*** Issue 42828 has been marked as a duplicate of this issue. ***
Comment 10 Martin Grebac 2004-10-08 15:48:06 UTC
*** Issue 50168 has been marked as a duplicate of this issue. ***
Comment 11 Petr Jiricka 2004-12-14 18:35:48 UTC
Implemented by Radko.
Comment 12 zikmund 2005-01-21 09:38:54 UTC
*** Issue 53447 has been marked as a duplicate of this issue. ***