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...
... 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...
So the intent of assertEquals(a,b) is to be equivalent to assertTrue(a.equals(b)). ... according ... if they ... contents. ... bad idea. ... generate....
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...
<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...
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...
... 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...
... sure ... a ... requirements, They need to test that their unit meets the requirement. ... Indeed. ... No. I think this fits in the iterative approach. ... ...
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...
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...
... 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. ...
... 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...
... 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...
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...
... 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,...
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, ...
... Ahhh, an interesting question. Thank you for caring about such things. There are no coding standards for JUnit users. There are various community agreed...
... 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...
... 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...
... 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...
... 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...
Check the following URL.. http://junit.org <http://junit.org/> you will find the sample code too. regards, Ashutosh ________________________________ From:...
... 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...