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.
Click here for the latest updates on Groups Message search

Messages

  Messages Help
Advanced
Messages 18039 - 18068 of 22563   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
18039
... Why not simply pass a boolean parameter to your test? -- Cédric [Non-text portions of this message have been removed]...
Cédric Beust 
cbeust
Offline Send Email
Oct 1, 2006
6:17 pm
18040
Here's an approach I've tried to convince management of the benefit of object level unit tests. I don't know if it has worked yet, and I welcome suggestions...
Bob Runstein
rrunst
Offline Send Email
Oct 2, 2006
12:44 am
18041
David, Jason, and all: Thank you for the suggestion. I have checked in a change to handle this. The test case is: @Test public void...
Kent Beck
kentlbeck
Offline Send Email
Oct 2, 2006
4:19 am
18042
... Because it seems that there are two different, but related, things that the original poster wanted to test: 1) Given that the comparison routine is...
David Saff
dsaff
Offline Send Email
Oct 2, 2006
1:12 pm
18043
That seems sufficient to me. ... [Non-text portions of this message have been removed]...
Jason Rogers
jacaetev
Offline Send Email
Oct 2, 2006
3:22 pm
18044
So the intent of assertEquals(a,b) is to be equivalent to assertTrue(a.equals(b)). ... according ... if they ... contents. ... bad idea. ... generate....
putnam_david_t
Offline Send Email
Oct 2, 2006
4:08 pm
18045
I was working on sending my JUnit tests results from a suite of SOA soap service tests over to Mercury QualityCenter, as QC seems a central repository for test...
Mike Foley
mike_foley_0...
Offline Send Email
Oct 2, 2006
7:59 pm
18046
<controversial> I'm still not convinced of the economics of unit testing at the lowest level. I've been lurking this list for quite some time, attended online...
j_cumps
Offline Send Email
Oct 3, 2006
9:11 am
18047
Jan, Thanks for being willing to say something controversial. Let me be sure I'm understanding you. Are you saying one of these two things, or a third thing...
David Saff
dsaff
Offline Send Email
Oct 3, 2006
1:01 pm
18048
... He he he. Go for it. :-) ... Gotta love theory ... right up until reality smacks it upside the head. ... Now you're talking. ... Me too. ... Yup. ... Of...
Simon Chappell
spchappell
Offline Send Email
Oct 3, 2006
1:23 pm
18049
... sure ... a ... requirements, They need to test that their unit meets the requirement. ... Indeed. ... No. I think this fits in the iterative approach. ... ...
j_cumps
Offline Send Email
Oct 3, 2006
5:53 pm
18050
Just ran across an article by Brian Goetz with some good tips on testing concurrent code: http://www.artima.com/forums/flat.jsp?forum=276&thread=178345...
Michael Sullivan
kupci2
Offline Send Email
Oct 3, 2006
6:19 pm
18051
Simon, ... and ... head. ... level. ... Yes, they can. ... test ... Some code might just exist because we've written a test for it. ... get a ... very ... I...
j_cumps
Offline Send Email
Oct 3, 2006
6:21 pm
18052
... I think that the controversial part of this is that you'd call those system tests "unit tests." Michael Feathers www.objectmentor.com...
Michael Feathers
mfeathers256
Offline Send Email
Oct 3, 2006
6:22 pm
18053
... Bravo. You have cut to the heart of the matter. Oh, and he was also basically suggesting that what *we* call unit tests were too low level to worry about. ...
Simon Chappell
spchappell
Offline Send Email
Oct 3, 2006
10:19 pm
18054
... As fun as it is to debate controversial topics, until either side of the argument can measure the effect of unit testing in some kind of currency unit, the...
J. B. Rainsberger
nails762
Offline Send Email
Oct 4, 2006
12:40 am
18055
... Some code might just exist because we've written a requirement for it. This is not a statement about TDD, but rather a statement about removing unneeded...
J. B. Rainsberger
nails762
Offline Send Email
Oct 4, 2006
12:42 am
18056
... I'm in the *we* group too. But full of doubts if we're doing the right thing. ... Regards, Jan...
j_cumps
Offline Send Email
Oct 4, 2006
4:57 am
18057
I read through Bob's post below and I find it a really interesting and good aproach. We often talk about convincing management and it can be frustrating indeed...
Joakim Ohlrogge
j0hlrogge
Offline Send Email
Oct 4, 2006
7:58 am
18058
... You don't?! I see it all the time. More specifically, I see people acting as though they do /not/ have permission to remove dead code. "If it ain't broke,...
J. B. Rainsberger
nails762
Offline Send Email
Oct 4, 2006
12:06 pm
18059
Hi Guys, I have joined Junit Groups recently and i am working on Junit test cases. Could please tell me the coding standards for JUNIT Testing. --Cheers, ...
Uma Maheswara.G
gunipati81
Offline Send Email
Oct 4, 2006
1:13 pm
18060
... Ahhh, an interesting question. Thank you for caring about such things. There are no coding standards for JUnit users. There are various community agreed...
Simon Chappell
spchappell
Offline Send Email
Oct 4, 2006
1:39 pm
18061
... If I think some code needs to be removed I remove it, if I think some code needs to be added I add it, if I think some code needs to be changed I change...
Joakim Ohlrogge
j0hlrogge
Offline Send Email
Oct 4, 2006
1:42 pm
18062
... Ideally, every developer would do that, but we all know that doesn't happen very often. *snip* ... I want to work where you work. You see, many large...
Simon Chappell
spchappell
Offline Send Email
Oct 4, 2006
2:17 pm
18063
... After this "culture clash" (not that I haven't seen what you describe here either but maybe to a different extent... here it is more like, none lose their...
Joakim Ohlrogge
j0hlrogge
Offline Send Email
Oct 4, 2006
2:34 pm
18064
... Yes, those darn project budgets... luckily support and maintainance is free (from the projects perspective) :)...
Joakim Ohlrogge
j0hlrogge
Offline Send Email
Oct 4, 2006
2:47 pm
18065
... That's the root cause of all our testing problems. After all testing is a fairly well understood activity, so the problems come from the environment in...
Simon Chappell
spchappell
Offline Send Email
Oct 4, 2006
3:29 pm
18066
Check the following URL.. http://junit.org <http://junit.org/> you will find the sample code too. regards, Ashutosh ________________________________ From:...
sharma.ashutosh@...
toashutosh
Offline Send Email
Oct 4, 2006
3:33 pm
18067
Simon, Thank you very much :) yes it' true that experience is the right one to get hands on junit. Cheers, Mahesh ... From: Simon Chappell...
Uma Maheswara.G
gunipati81
Offline Send Email
Oct 4, 2006
7:42 pm
18068
... In the system I'm currently working on over half the classes were obsolete, POC or due to projects that hadn't gone "live". Half the object model relates...
Rutherford, Michael
mrutherfurd
Offline Send Email
Oct 4, 2006
10:42 pm
Messages 18039 - 18068 of 22563   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

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