Search the web
Sign In
New User? Sign Up
junit · JUnit, the Java unit testing framework written by Kent Beck and Erich Gamma.
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 18289 - 18318 of 22044   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
18289
... fail. ... make ... white ... code ... Tracey -- Just want to add a tidbit of clarification to J.B.'s response (I may stating the obvious, but nonetheless)....
bria526
Offline Send Email
Nov 1, 2006
8:41 am
18290
Hi Jan, ... I see. That makes sense, although parsing the relevant stuff from a big chunk of output might be somewhat, eh, "challenging" to do with XSL :) ...
Lasse Koskela
lassekoskela
Offline Send Email
Nov 1, 2006
6:19 pm
18291
Thank you all!...
hitliubo
Offline Send Email
Nov 2, 2006
2:21 am
18292
Hi, I'm using Eclipse 3.2, Orion application server, J2EE 5.0, Oracle database. I've written a jUnit test but it doesn't run since it doesn't run within the...
lenniedg2000
Offline Send Email
Nov 2, 2006
11:30 am
18293
Extract as much as possible to classes that can be tested outside of the application server. The majority of the behaviour you are developing can be and should...
Joakim Ohlrogge
j0hlrogge
Offline Send Email
Nov 2, 2006
11:49 am
18294
... There is no reason why you can't run your tests inside your container, and if you are going to test an application that runs inside a container, it's ...
Cédric Beust 
cbeust
Offline Send Email
Nov 2, 2006
2:38 pm
18295
The reason would be that it is generally a bit more time consuming to package and run your tests in an application server than it is from your IDE. That is why...
Joakim Ohlrogge
j0hlrogge
Offline Send Email
Nov 2, 2006
2:59 pm
18296
... That is a simple and good test, but some times the "state machine" work with containers, in this cases I need know if all entities and properties is...
Luiz Siqueira Neto
cybersamurai_br
Offline Send Email
Nov 2, 2006
3:10 pm
18297
Hello, I am using eclipse IDE and I want to run unit tests as part of the build.xml file. Currently my build.xml file looks like this: <project...
Magnus
t703093
Offline Send Email
Nov 2, 2006
3:11 pm
18298
I don't run Junit *inside* the application server, but I do run it as a J2EE client application to test my ejb's (which are running in the container). The...
james_prickett@...
james_p_73
Offline Send Email
Nov 2, 2006
3:12 pm
18299
Your directories are all screwed up. You need to start with a working simple JUnit / Cobertura example project and then add your files or modify until it suits...
Wayne Fay
jaeger321
Offline Send Email
Nov 3, 2006
2:34 pm
18300
Use Cactus (http://jakarta.apache.org/cactus/writing/howto_testcase.html). It's very easy to package you test and run them on server side. They also have...
Vishal Vishnoi
vishalvishnoi
Offline Send Email
Nov 3, 2006
2:37 pm
18301
I am sorry, but I totaly forgot to state the problem that occurs: When running the build.xml file (actually the entire project), the unit test fails. What is...
Magnus
t703093
Offline Send Email
Nov 3, 2006
3:14 pm
18302
I'm working on some materials for people to learn JPA in a JSE environment. I decided I wanted them to write a series of unit tests to test several different...
Brett L. Schuchert
schuchert
Offline Send Email
Nov 3, 2006
3:26 pm
18303
Just to clarify, on projects like this, I usually have two levels of tests: user tests that verify that the end user sees what she expects (running in the...
David Saff
dsaff
Offline Send Email
Nov 3, 2006
4:30 pm
18304
... I'm a bit shocked by: public class QueriesTest extends Assert { It feels so nineties :-) How about using a static import instead? -- Cédric ...
Cédric Beust 
cbeust
Offline Send Email
Nov 3, 2006
5:39 pm
18305
Thanks David, That was what I was trying to say /and/ I think decoupling your code from EJB specifics and JNDI lookups and EJB-lifecycle events is a good idea....
Joakim Ohlrogge
j0hlrogge
Offline Send Email
Nov 3, 2006
8:59 pm
18306
probably it is not the perfect solution but... Soppose we want to test a method that at some point does something like: Connection...
Fabio Bertone
fabio_bertone
Offline Send Email
Nov 3, 2006
9:53 pm
18307
I agree with David and Joakim. There are multiple ways to tests. It all depends on what you are trying to achieve. --Vishal ... ...
Vishal Vishnoi
vishalvishnoi
Offline Send Email
Nov 4, 2006
12:07 am
18308
Hello every Body: I am new to JUnit but not to java. I am writing a client/server application. I have heared alot about JUnit bu tnever used it extensivly. Now...
mansour77
Offline Send Email
Nov 5, 2006
9:19 am
18309
http://www.google.co.uk/search?q=junit -- Stephen Smith, MEng (Wales). http://www.stephen-smith.co.uk/...
Stephen Smith
steve@...
Send Email
Nov 5, 2006
10:52 am
18310
... Cedric, You're right!!! That's a habit I formed when I started using JUnit 4 in Eclipse 3.1 and it did not handle the static imports well. Now that it...
Brett L. Schuchert
schuchert
Offline Send Email
Nov 6, 2006
12:25 am
18311
Running Junit 3.8. I have an AllTests class that does not run after adding a new suite. Here is the top level AllTest code: <snip> public static Test suite ()...
bill turner
wltiii
Offline Send Email
Nov 6, 2006
11:09 pm
18312
Hi I am trying to launch the Junit launcher programmatically. For this I need to specify some IJavaLaunchConfigurationConstants attributes. Currently I am...
Neelesh Thakur
neeleshthaku...
Offline Send Email
Nov 6, 2006
11:10 pm
18313
Bill, On the face of it, there's nothing that seems obviously wrong, nor can I think of a common mistake that would lead to that behavior. There's a couple...
David Saff
dsaff
Offline Send Email
Nov 7, 2006
3:04 am
18314
... Two things: 1. If you a really testing the entity introspector, then I believe you should try to test it directly, instead of testing it with the state ...
J. B. Rainsberger
nails762
Offline Send Email
Nov 7, 2006
1:53 pm
18315
Neelesh, Have you tried the methods in JUnitLaunchShortcut? Even if you can't use them directly, working through the source there will be a great starting ...
David Saff
dsaff
Offline Send Email
Nov 7, 2006
3:33 pm
18316
From the faq the pattern everyone else seems to be using is that their tests are in a seperate java file from their code. I'd like to spinkle test methods...
Joseph Shraibman
tupari
Offline Send Email
Nov 8, 2006
7:47 am
18317
Hi Joseph, I'm assuming that you want to do this with jUnit 4.0 since 3.x requires you to extend TestCase. Disclaimer: I'm not very experienced with JUnit 4.x...
Joakim Ohlrogge
j0hlrogge
Offline Send Email
Nov 8, 2006
2:22 pm
18318
This doesn't work. INFO: testname.size()= 3 stepsPerTest = [3, 2, 1] inputCountForStep = [3, 2, 2, 3, 3, 1] ... TestSuite mySuite = new TestSuite( "MY...
brainbug_dd
Offline Send Email
Nov 8, 2006
2:56 pm
Messages 18289 - 18318 of 22044   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help