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 22015 - 22044 of 22094   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
22015
... Just tried it and it seams to be called, at least in Eclipse. I'm not sure what the JVM guarantees, when it comes to shutdownHooks. I think I remember that...
Malte Finsterwalder
maltefinster...
Offline Send Email
Oct 23, 2009
5:08 pm
22016
I think shutdown hooks are ran and a guaranteed to run unless a Runtime.halt is called. This is for Java 1.6 A shutdown hook is simply an initialized but...
Forsberg, Mike
mike.forsber...
Offline Send Email
Oct 23, 2009
5:52 pm
22017
On Fri, Oct 23, 2009 at 1:08 PM, Malte Finsterwalder ... I agree. But from a feature prioritization point of view, it helps to know that addShutdownHook will...
David Saff
dsaff
Offline Send Email
Oct 23, 2009
5:56 pm
22018
I just got folks in the office to agree to upgrade - might be a harder battle to get a nightly build, but I"ll take a look. With the 4.7 release then, there's...
ju_10101
Offline Send Email
Oct 24, 2009
2:50 pm
22019
Hi Daniel, Yes! I recalled meeting you at Agile 2008 and I indeed looked at bumblebee a few days ago to see if it could do what I want. But I was looking on...
Arnaud Bailly
arnaud.baillly
Offline Send Email
Oct 24, 2009
2:51 pm
22020
ju_10101, Ask tomorrow for an ETA on the next release. David...
David Saff
dsaff
Offline Send Email
Oct 26, 2009
6:32 pm
22021
Hello, I want to write my own junit4 runner, to add my testListener. I want to extend the TestclassRunner, because this class contains a lot of functionality,...
eclipse.beginner
eclipse.begi...
Offline Send Email
Oct 27, 2009
12:29 am
22022
I am interested in knowing if somebody has already written Junit unit tests for Java Collection Classes. Thanks in advance....
ilangocal
Offline Send Email
Oct 27, 2009
12:29 am
22023
On Mon, Oct 26, 2009 at 6:56 PM, eclipse.beginner ... Hi. Have you looked at the new TestWatchman rule released in JUnit 4.7 to see if this'll fit your needs?...
Alistair Israel
aisrael
Offline Send Email
Oct 27, 2009
12:51 am
22024
The way I do this currently is with a custom runner like this: public class CustomRunner extends Suite { public CustomRunner(Class<?> setupClass) throws...
yme0987654321
Offline Send Email
Oct 27, 2009
7:27 pm
22025
This is the kind of output I was looking for. Not perfect though (notice the 'AFile' which should be 'a file') Notify agent : Calls notifier backend upon...
Arnaud Bailly
arnaud.baillly
Offline Send Email
Oct 28, 2009
12:36 am
22026
What do you mean by tests for the Java collection classes? If you're referring to tests that exercise the collections classes, you don't need them as they are...
Colin Vipurs
zodiac_zx6
Offline Send Email
Oct 28, 2009
12:37 am
22027
Hi - You can use hamcrest asserts in JUnit 4.x to test your collections. Please visit http://code.google.com/p/hamcrest/wiki/Tutorial, ...
B. Sai Prasad, M.Phil...
sai_prasadb
Offline Send Email
Oct 28, 2009
12:37 am
22028
org.junit.runners.BlockJUnit4ClassRunner seems to be the best choice. From the documentation: "BlockJUnit4ClassRunner has advantages for writers of custom...
brettddaniel
Offline Send Email
Oct 28, 2009
12:37 am
22029
From the way you worded your question, it sounds like you're looking for tests for the java.util.* classes. Unfortunately, I am unaware of any canonical set...
brettddaniel
Offline Send Email
Oct 28, 2009
12:37 am
22030
Hi there, slightly off topic: Does anyone here know, whether I can convince Springs test support to reuse a single container for multiple JUnit test classes? I...
Malte Finsterwalder
maltefinster...
Offline Send Email
Oct 28, 2009
1:20 pm
22031
SpringJUnit4ClassRunner does this by default. The "locations" field of @ContextConfigurations is actually the key into the cached spring contexts....
krosenvold
Offline Send Email
Oct 28, 2009
1:31 pm
22032
... Duh... Thanks, Malte...
Malte Finsterwalder
maltefinster...
Offline Send Email
Oct 28, 2009
3:59 pm
22033
I seem to be having the same problem. I will try to find a solution online, but I was hoping someone might be able to shed some light on the situation. $mvn...
iGeek
j4v4g33k
Offline Send Email
Oct 28, 2009
10:42 pm
22034
I've head this problem before and if I'm not totally mistaken it's one of the followin A) Your dependencies or transitive dependencies is picking up junit...
krosenvold
Offline Send Email
Oct 29, 2009
8:38 am
22035
Yishai, Can you move the request to github? I have an idea of a general way to handle things like this, but it looks like it'll take backseat to concurrency...
David Saff
dsaff
Offline Send Email
Oct 29, 2009
2:52 pm
22036
Done, request ID 41....
yme0987654321
Offline Send Email
Oct 29, 2009
4:43 pm
22037
I would try the following things: 1. make sure that your project respects the maven structure (sources in src/main/java, tests in src/test/java) 2. remove the...
Bogdan
bogdanmocanu...
Offline Send Email
Oct 30, 2009
1:55 am
22038
I am a beginner in Junit4. I need your help to write a parameterised Junit test case. This will help me in learning Junit in a better way. I am trying to do...
madhufuge
Offline Send Email
Oct 30, 2009
1:57 am
22039
Madhavi, The included code was badly mangled in transit. Can you try again? Thanks, David Saff...
David Saff
dsaff
Offline Send Email
Oct 30, 2009
4:05 am
22040
I am happy to inform that I was able to make the test classes work. It was really strange because the tests from other modules were running but these weren't...
iGeek
j4v4g33k
Offline Send Email
Oct 30, 2009
3:09 pm
22041
Hello, to help you in your problem, here are some helpful links: How to write parameterized tests ...
Bogdan
bogdanmocanu...
Offline Send Email
Oct 30, 2009
3:09 pm
22042
Hi All,  I am a beginner in Junit4. I need your help to write a parameterised Junit test case. This will help me in learning Junit in a better way. I am...
madhavi fuge
madhufuge
Offline Send Email
Oct 31, 2009
3:17 pm
22043
Hi! Instead of using Rules (or do I missunderstand something?), you could annotate the test-class MyTest with @Runwith(Parametrized.class) and then a public...
le_garcon_enerve
le_garcon_en...
Offline Send Email
Oct 31, 2009
3:18 pm
22044
Madhavi, Have you looked at the Parameters runner in JUnit 4? There's an example here: ...
David Saff
dsaff
Offline Send Email
Nov 3, 2009
5:56 am
Messages 22015 - 22044 of 22094   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