Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

junit · JUnit, the Java unit testing framework written by Kent Beck and Erich Gamma.

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 31224
  • Category: Java
  • Founded: Nov 6, 2000
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Messages

Advanced
Messages Help
Messages 22140 - 22169 of 24387   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand Author Sort by Date ^
22140 Leo Arias
leo_ariasf Send Email
Dec 7, 2009
5:09 am
Hello, I want to execute some actions on @After only if the @Test has failed. Is there a function to know it a test has failed? thanks, pura vida. -- Leo...
22141 Ilja Preuß
ipreussde Send Email
Dec 7, 2009
11:27 am
What's motivating you to use JUnit? Wouldn't it be better to write your tests in COBOL? 2009/12/6 conectme366 <conectme366@...> ... [Non-text portions of...
22142 David Saff
dsaff Send Email
Dec 7, 2009
1:55 pm
Although, thanks for the impetus to learn something new to me: http://sites.google.com/site/cobolunit/ David Saff...
22143 David Saff
dsaff Send Email
Dec 7, 2009
1:57 pm
Leo, If you can use 4.7 or after, you're better off using a TestWatchman: http://kentbeck.github.com/junit/javadoc/4.8/org/junit/rules/TestWatchman.html Will...
22144 Leo Arias
leo_ariasf Send Email
Dec 7, 2009
3:41 pm
... I think so :) Let me try to implement it that way. thanks David. -- Leo Arias. ¡paz y baile! http://elopio.net...
22145 Joe Schmetzer
copabella Send Email
Dec 7, 2009
8:19 pm
Whoa! That's new! Thanks for pointing that out. I was searching high and low for something like COBOLUnit about 6 months ago, and came up with nothing. We had...
22146 Markus
realmacmark Send Email
Dec 7, 2009
11:12 pm
I experience exactly the same problem with JUnit 4.8: Annotating the testing class with @Category(...) has no effect, but annotating its methods with...
22147 conectme366 Send Email Dec 8, 2009
6:17 am
Ilja, thanks for your reply , yes we normally do write in cobol,we have new proj in pipeline in which we are asked for this.So i have posted for help....
22148 conectme366 Send Email Dec 8, 2009
6:17 am
Thanks a lot David. Rocky....
22149 David Saff
dsaff Send Email
Dec 8, 2009
3:37 pm
JUnit 4.8.1 has been released, fixing major bugs in the documentation and implementation of categories. Thanks to our users for being on top of things. ...
22150 David Saff
dsaff Send Email
Dec 8, 2009
3:40 pm
Thanks, Markus. Fixed in 4.8.1. David Saff...
22151 loicmidy Send Email Dec 9, 2009
12:02 pm
Hello, I have read severals books about Junit. The books explain well how to design a unit testable code and how to use stub and mock BUT I found few...
22152 David Saff
dsaff Send Email
Dec 9, 2009
4:20 pm
Ioic, In the end, I think experience is the most reliable guide. Most developers have experience already about tests they should have written: they're the...
22153 Paul King
paulk@... Send Email
Dec 10, 2009
6:37 am
Last time, some kind soul pushed 4.7 into the Maven repo. Thanks whoever that was! If you have time to upload the request for 4.8.1 I know I would greatly...
22154 baardl
bard.lind@... Send Email
Dec 11, 2009
12:15 am
Hi. I have been trying to use TestNG for a while, but found the transition a bit too hard :-) Categories in junit is looking promising, but there is two things...
22155 baardl
bard.lind@... Send Email
Dec 11, 2009
12:16 am
Hi. My take on using strings as markers are that this will faile over time. This due to miss-spelling of the category name, and because refactoring will be...
22156 Bill Shannon
bs00011 Send Email
Dec 11, 2009
12:16 am
I've read the FAQ and the javadocs and done much web searching but can't find an answer to this. Sorry if this is stupid question. I need to write a test case...
22157 lcghent Send Email Dec 11, 2009
2:40 am
Hey folks! This is sorta related to junit, but not specifically. I am writing some scripts to do some automated tests and need to report it to our Hudson...
22158 yme0987654321 Send Email Dec 11, 2009
4:23 am
The way I would handle this is to inject the relevant properties via a properties object, and then in production pass System.getProperties(), that way the...
22159 yme0987654321 Send Email Dec 11, 2009
4:29 am
One way to do this is to subclass the Suite runner and pass the array of classes to the Suite constructor. How you generate that array from the classes...
22160 cybernetics.core
cybernetics.... Send Email
Dec 11, 2009
9:56 am
Hello, *! A short introduction before question: Let's say we are having a different test case files - one for each category, for example AmFM.java ...
22161 Bill Shannon
bs00011 Send Email
Dec 11, 2009
9:57 am
I can't change the design of the class under test, its behavior is defined by a standard. As for different suites, are you suggesting that I separate the tests...
22162 yme0987654321 Send Email Dec 11, 2009
1:51 pm
I'm not really suggesting you change the overall design of the public API, I'm just suggesting you have a way of injecting a different properties object, via...
22163 David Saff
dsaff Send Email
Dec 11, 2009
2:55 pm
Bill, JUnit by itself probably can't help--it assumes that once a JVM is started with a list of tests, it's job is to plow through those tests with that JVM....
22164 David Saff
dsaff Send Email
Dec 11, 2009
2:59 pm
Jason, The XML format that has become standard was the one created by the ant team. A search for "ant junit xml" reveals some potentially useful links,...
22165 David Saff
dsaff Send Email
Dec 11, 2009
3:01 pm
This has come up a couple times, but it has design challenges, especially the need for the core JUnit runner, which should not know about categories, having to...
22166 Forsberg, Mike
mike.forsber... Send Email
Dec 11, 2009
3:10 pm
I for one 100% agree that reading system properties during a static initializer leads to untestable-like code. I think there are a few articles out there that...
22167 David Saff
dsaff Send Email
Dec 11, 2009
3:45 pm
Dmitry, I'm not aware of an existing GUI that would do what you want. There are ways to get it done in code: are you interested in those, or does it need to...
22168 David Saff
dsaff Send Email
Dec 11, 2009
3:47 pm
... Take a look at the cpsuite extension, which should take care of that. ... We don't contribute time or opinion to the maven project, so it's hard to say....
22169 Cédric Beust 
cbeust Send Email
Dec 11, 2009
4:11 pm
... Well, TestNG has been using string groups for more than five years now and nobody has complained, so I don't think it's really failing. I don't even ...
Messages 22140 - 22169 of 24387   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

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