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...
Message search is now enhanced, find messages faster. Take it for a spin.

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 20828 - 20857 of 22044   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
20828
Just incidentally, why? Your unit tests should be so fast that you don't care. Or are you using junit to write larger-scale tests? S. ... Steve Freeman ...
Steve Freeman
smg_freeman
Offline Send Email
Sep 1, 2008
9:56 pm
20829
We dont have real test cases , most of them would fail written by several developers in offshore dont want to mess with them , in any case one fails it wont...
miro
miroconnect@...
Send Email
Sep 2, 2008
7:24 am
20830
Hi all! I'm a bit of a newb to the whole TDD thing, but I understand that unit tests are supposed to be blazingly fast and not access the hard drive, network, ...
Jan Kroeze
thejcwk
Offline Send Email
Sep 2, 2008
8:04 am
20831
This has nothing to do with speed, it's just convenient to be able to run just the one test method you are currently developing or debugging. For example, the...
Cédric Beust 
cbeust
Offline Send Email
Sep 2, 2008
12:40 pm
20832
Select the method node in the outline and choose "Run As > JUnit Test", this should execute that test method only. cheers, AA ... ...
adrian.kuhn
Offline Send Email
Sep 2, 2008
2:45 pm
20833
Hi Jan, I won't claim to be the official position of the JUnit community, but I will offer my thoughts. It is okay to use JUnit for other kinds of testing,...
Dennis Lloyd Jr
dennis_lloyd_jr
Offline Send Email
Sep 2, 2008
11:29 pm
20834
Here is my test case package com.uprr.app.csr.manager; import com.uprr.app.csr.dao.hibernate.impl.BaseDAOTestCase; public class StorageRequestManagerTest...
miro
miroconnect@...
Send Email
Sep 2, 2008
11:29 pm
20835
Hi, In my maven pom.xml I want to register a JUnit 4.X listener to maven- surefire-plugin to notify that my all jUnit 4.X testcases completed their executions....
sudarshenek
Offline Send Email
Sep 2, 2008
11:30 pm
20836
Hi, The first problem may be your java envirenment not config correctly,please check again or google "java -classpath". The code recorded with Selenium IDE...
Yang Gu
hyysguyang
Offline Send Email
Sep 3, 2008
3:58 am
20837
Hi! Often, a few thoughts are worth much more than an official positions. That's a good point about keeping the two tests in different folders. I suppose I'll...
Jan Kroeze
thejcwk
Offline Send Email
Sep 3, 2008
9:32 am
20838
my method might return a value or might not. So I am wondering what should be final line in my test case like assert? here is my code public void...
miro
miroconnect@...
Send Email
Sep 3, 2008
11:32 am
20839
Your test cases should not accept parameters. Use public void testgetStatus() instead of public void testgetStatus( Long storageRequestId)  Regards, Jan   ...
Jan Cumps
j_cumps
Offline Send Email
Sep 3, 2008
2:21 pm
20840
... I assume that your saying that you're testing a method that may return 'null' or may return a list. If you're not sure which will come back when you run...
Bill Woodward
bill_cchkk
Offline Send Email
Sep 3, 2008
4:22 pm
20841
"Jan Kroeze" wrote: "Is there a better framework, or is it common practice to use JUnit for these tests as well?" Based on my experience, best practice is to...
danilsuits
Offline Send Email
Sep 3, 2008
4:37 pm
20842
Jan, You can use JUnit for longer-running tests, but there are some assumptions JUnit embodies that will cause some problems. JUnit assumes tests are ...
kentb
kentlbeck
Offline Send Email
Sep 3, 2008
5:27 pm
20843
I imagined I would get quite a few responses with this viewpoint. This is what I'm currently doing and it seems to work well. Were these expierences relatively...
Jan Kroeze
thejcwk
Offline Send Email
Sep 4, 2008
8:15 am
20844
Hi! I think this summarises quite neatly what a couple of people have said, namely that switching to a dedicated framework from JUnit is only neccessary if...
Jan Kroeze
thejcwk
Offline Send Email
Sep 4, 2008
8:18 am
20845
Hello I write a unit test where must be Exception. Also I need to run this unit test for few status and don't want create again my unit test for each status ,...
yosefshariat
Offline Send Email
Sep 4, 2008
6:14 pm
20846
I am looking for some pointers on the best JUnit extensions and/or patterns to follow in developing concurrency tests. Basically, for key classes I want to...
mraccola
Offline Send Email
Sep 4, 2008
6:14 pm
20847
Hi Jan, I agree, and as you touch on the idea of acceptance tests, you come close to the one point I'd add. Besides running time and number of failures, the...
lancezant
Offline Send Email
Sep 4, 2008
11:06 pm
20848
Interesting idea. It sounds like something that would be very hard to do from a unit testing perspective. One tool I've used is multithreadedtc. It doesn't...
Per Jacobsson
perjacobsson@...
Send Email
Sep 4, 2008
11:27 pm
20849
... It is very useful to put some concurrency pressure on your code. This doesn't guarantee that it's threadsafe but it gives you a reasonable idea. FYI, here...
Cédric Beust 
cbeust
Offline Send Email
Sep 4, 2008
11:33 pm
20850
TestUtil v. 2.4 has been released and includes support (thank you Björn Ekryd) for Enums. http://gtcgroup.com/util/index.html TestUtil is a Java open source...
Marvin Toll
y153446
Offline Send Email
Sep 8, 2008
8:17 am
20851
Hi all, Does anyone run performance testing along with integration tests via junit? What tools are you using? Nina Niskanen -- I reject your reality and...
Nina Niskanen
mokso1
Offline Send Email
Sep 8, 2008
8:17 am
20852
Have you looked at jmeter? I heard someone mention it on the project I'm currently working on. 2008/9/8 Nina Niskanen <nina.niskanen@...> ... -- Jan...
Jan Kroeze
thejcwk
Offline Send Email
Sep 8, 2008
8:22 am
20853
Hi! Very good point about acceptance testing and system boundaries. I hadn't thought of this and people often forget to mention it. Of course, this has a great...
Jan Kroeze
thejcwk
Offline Send Email
Sep 8, 2008
8:28 am
20854
JMeter is cool for some things like testing performance under load of messaging APIs (like, say, HTML or SOAP). But if you're talking about performance of a...
Bradley, Todd
todd404
Offline Send Email
Sep 8, 2008
6:43 pm
20855
All, David and I are working on ways to shorten the validation phase of the inner programming loop (feature -> test -> code -> validate). One of the ideas is ...
kentb
kentlbeck
Offline Send Email
Sep 8, 2008
11:53 pm
20856
Per feedback, the description has been enhanced: For practitioners of Test-Driven Development, TestUtil recursively interrogates the code base and reflectively...
Marvin Toll
y153446
Offline Send Email
Sep 9, 2008
12:08 pm
20857
Hi, Are there any changes between 4.4 and 4.5 in regards to Mock objects? I am updating at work and I am seeing some tests that use mock objects pass in 4.4...
pmcevoy12
Offline Send Email
Sep 9, 2008
12:08 pm
Messages 20828 - 20857 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