... data? ... It relies on data from databases!...
6075
Mike Clark
clarkware
Nov 1, 2002 7:26 pm
... So the application as a whole knows that the data came from a database? If so, I'd recommend introducing a data access layer to reduce this coupling....
6076
global_explorer
Nov 1, 2002 7:41 pm
if i have a testcase that has 5 test methods, does the framework create 1 instance of your testcase and then execute each test method on that instance (calling...
6077
Jason Rogers
jacaetev
Nov 1, 2002 7:56 pm
5 yes =jason On Fri, 2002-11-01 at 14:40, global_explorer wrote: if i have a testcase that has 5 test methods, does the framework create 1 instance of your...
6078
eyl2k
Nov 1, 2002 10:02 pm
MyTestCase with 5 testXXX() methods runs as expected. When I added a sixth testXXX() method, I get the following error message: [java]...
6079
global_explorer
Nov 1, 2002 10:02 pm
thanks. i know there is no guarantee to the order of processing the test methods, but do they run simultaneously or serially? i just have setup data that...
6080
wvuvivek
Nov 1, 2002 10:02 pm
Hi All, Iam totally new to the junit field. Ihave installed the junit software. The jar file is in the directory c:\junit92;junit3.8 \junit.jar. I have written a...
6081
eyl2k
Nov 1, 2002 10:20 pm
My interim workaround is to change all the names of the testXXX() methods to xtestXXX() and then call each one manually from testAll()....
6082
Michael Silverstein
msilverstein@...
Nov 1, 2002 10:38 pm
This is very odd. Could you post the test - especially if you can recreate the problem with the insides of the test methods stripped out for brevity. ...
6083
NOUSHI Reda
noushi@...
Nov 1, 2002 11:21 pm
Hi Vivek, To me it's _only_ a classpath problem! As it can't find the package: C:\junit92;junit3.8\TestFibonacci.java:1: package junit.framework does not exist ...
6084
eyl2k
Nov 1, 2002 11:22 pm
I can't recreate it with a stripped down test. My test class extends a generic test class that our project group uses. The generic test class imports many...
6085
global_explorer
Nov 1, 2002 11:22 pm
if i have 3 test methods in my testcase and there are 3 instances of the testcase created, does the framework execute each test method from each instance in...
6086
Charanjeet Singh
jackal_contract
Nov 1, 2002 11:22 pm
Vivek- Did you check ur classpath? ... From: wvuvivek [SMTP:wvuvivek@...] Sent: Friday, November 01, 2002 12:21 PM To: junit@yahoogroups.com Subject:...
6087
Michael Silverstein
msilverstein@...
Nov 2, 2002 5:10 pm
Can you recreate it with a stripped down subclass of the generic test class? The JavaDoc for java.lang.NoClassDefFoundError says that it is thrown if the Java...
6088
Erik Hanson
hanson_erik
Nov 2, 2002 9:27 pm
... Why don't you just try it and see? It would only take a few minutes, versus waiting for hours or days for someone to give you a response here....
6089
Scott Stirling
jrun5
Nov 3, 2002 12:13 am
JUnit's test runners are single-threaded. Take a look at the source. Ditto for Ant's test runner. Sun and IBM JVM's will execute the tests in opposite orders...
6090
Vishnu Vardhan
vishy4u_2000
Nov 3, 2002 12:54 am
I have the Servlets and Beans written for an application. I need to test them to see if they are working properly or not. I do understand that this needs to...
6091
vivek srinivasan
wvuvivek
Nov 3, 2002 8:11 pm
Hi all, I am trying to test a fibonacci series. I have 2 programs 1.Fibonacci.java whichdoes the fibonnaci calculation public class Fibonacci { int compute...
6092
Vikas Malla
malla6um
Nov 3, 2002 8:35 pm
the current working directory needs to be in the classpath. this is done usually by putting "." (period) in the classpath. BOL, vivek srinivasan...
6093
Scott Stirling
jrun5
Nov 3, 2002 11:43 pm
This is more of an Ant question. The JUnit test runner in Ant is wholly a product of the Ant developers. Not that there's anything wrong with it -- it's just...
6094
Dave Astels
astelsd
Nov 4, 2002 10:07 am
On Sun, 2002-11-03 at 14:56, vivek srinivasan wrote: Make sure that the directory with your class files is on the classpath. Most/all IDEs will take care of...
6095
Dave Astels
astelsd
Nov 4, 2002 10:12 am
... sorry.. that bit about the message should be part of the next comment. [...] ... -- Dave Astels (dave@...) Coauthor of "A Practical Guide to eXtreme...
6096
Demyanovich, Craig - ...
demmer12
Nov 4, 2002 2:22 pm
eyl2k, I'm using JUnit 3.8.1, and I have a few TestCases with many more than six testXXX() methods. Can you offer any more information about your environment?...
6097
Chris
christopherbare
Nov 4, 2002 2:45 pm
Here's a weird error and the solution, so that the next poor shmuck can find it: When running a junit test suite via Ant, I got this error: [junit] loader...
6098
Jason Rogers
jacaetev
Nov 4, 2002 3:16 pm
serially On Fri, 2002-11-01 at 15:25, global_explorer wrote: thanks. i know there is no guarantee to the order of processing the test methods, but do they run...
6099
Kevin Klinemeier
zipwow
Nov 4, 2002 5:17 pm
... of ... simultaneously ... be set ... each test ... a few minutes, ... you a response ... I would imagine he's thinking ahead to when he has many, many...
6100
Timothy Wall
twall@...
Nov 5, 2002 12:43 pm
I think the real solution to the (broken) class loader is to fix it so that it only searches a more narrowly specified classpath when loading test classes,...
6101
Scott Stirling
jrun5
Nov 6, 2002 1:00 am
This is indeed the solution. I've yet to see any other working solution for a dynamically reloading classloader. Every J2EE app server and Servlet container...
6102
Jeff Franzen
jfranzen22full
Nov 6, 2002 2:47 am
JUnit v3.8.1 does not appear to use the JVM argument "java.ext.dirs". If it does, please help. -I am using ant to execute JUnit tests. My ant target references...
6103
jenjerina
Nov 6, 2002 2:47 am
Hi, I have two junit classes. One is TestInterface.java and the other is TestInterfaceDecorator.java. In TestInterface.java, I have tests to test a file...