... Just to further clarify, this is JUnit 3 behavior. In JUnit 4.1, test instance creation happens right before test execution, so this particular reason to...
17258
Kevin Lawrence
kevinwilliam...
Aug 1, 2006 3:37 pm
... I am almost certain that we had this exact same discussion in this exact same forum with the exact same people about a year ago ;-) I even posted the same...
17259
Stephen Smith
steve@...
Aug 1, 2006 5:55 pm
Hi Kent, Thanks for your suggestion of extending an existing TestRunner. However, that's a bit of a non-starter for a single codebase component as our QA run...
17260
J. B. Rainsberger
nails762
Aug 1, 2006 6:31 pm
... DirectorySuiteBuilder and RecursiveTestSuite each allow you to do it. -- J. B. (Joe) Rainsberger :: http://www.jbrains.info Your guide to software...
17261
jason r tibbetts
tibbettj_at_...
Aug 1, 2006 6:32 pm
Anna, ... If the app class has a non-private constructor, then your tests don't need to instantiate it as a singleton, right? And you also modifed the app...
17262
Michael Schechter
mlschechter
Aug 1, 2006 11:04 pm
Actually, a clarification - I am using JUnit 4.1 tests in this fashion. We've completely converted - sorry for misleading the topic. However, this leaves me...
17263
Paul Andrews
fobn
Aug 1, 2006 11:11 pm
I have the exact same problem - i.e. trying to use MockRunner in Eclipse. This is compounded by the fact that I am using the continuous test plugin which...
17264
james_adams
Aug 2, 2006 9:45 am
Joe thanks for the recipe. I avoided taking that route before since <junit> and <junitreport> were such an improvement over what I had originally. However (I...
17265
sachem_iner
Aug 2, 2006 9:45 am
Hello, I'm trying to launch some JUnit TestCase referenced in a JUnit TestSuite with this code : AllTests testSuite = new AllTests(); ...
17266
Jean
raejean99
Aug 2, 2006 12:21 pm
I've written JUnit cases for over 1 month. I have to say it's fun to do the implement coding. But it's suffering to write JUnit cases. Because: 1. I need to...
17267
Carl Hume
carl_hume
Aug 2, 2006 12:53 pm
... Yes. Every day. You're right - some things are easier to unit test then others. I'm not perfect, and I'm still learning. But, I'm doing it (and have...
17268
Mark Levison
marklevison
Aug 2, 2006 3:11 pm
... Like Carl for over six years using JUnit/NUnit (for .NET) work. Its hard work at first but gets easier with time. J.B. Rainsberger39;s book Junit recipes ( ...
17269
Simon Chappell
spchappell
Aug 2, 2006 3:19 pm
That's got me beat. I've only been using it regularly for four years. [Hangs head in shame!] As a technical lead and now a mentor, I don't cut code every day ...
17270
Cédric Beust
cbeust
Aug 2, 2006 4:43 pm
... Don't feel bad, your situation is pretty common in my experience. The important thing is to realize that tests are important and always do your best to...
17271
Kevin Lawrence
kevinwilliam...
Aug 2, 2006 4:57 pm
... It's tempting to start a new thread asking if there is anyone NOT using junit during development ;-) ... but that probably wouldn't help you much. If there...
17272
Cédric Beust
cbeust
Aug 2, 2006 5:11 pm
... Not everybody uses JUnit, you know... Three or four times around this loop and you will probably also wonder ... The problem is usually more along the...
17273
jason r tibbetts
tibbettj_at_...
Aug 2, 2006 5:21 pm
... I'd have to admit that I find coding the /tests/ quite interesting and challenging in their own right. Here are just some of the things that testing has...
17274
Jan Cumps
j_cumps
Aug 2, 2006 5:55 pm
James, You problably run out of memory during the junitreport task. If that's the case, and if you can do with a plain text report, follow these steps: 1: In...
17275
Kevin Lawrence
kevinwilliam...
Aug 2, 2006 7:11 pm
... I know. I was assuming that the OP was using 'junit39; to mean 'an automated unit test framework'. I could have made that clearer. Kevin...
17276
Robert Martin
rmartinoma
Aug 2, 2006 7:43 pm
On Aug 2, 2006, at 1:16 PM, junit@yahoogroups.com wrote: 4. Best JUnit tester is the senior software developer. But senior guys hate to write test cases. ...
17277
Cédric Beust
cbeust
Aug 2, 2006 8:02 pm
Hi Rob, ... You seem to imply that there are only two kinds of code: - Code that is tested and works - Code that is not tested and doesn't work There is...
17278
J. B. Rainsberger
nails762
Aug 2, 2006 8:42 pm
... Using your own TestListener won't solve the OutOfMemory problem, although it might delay the problem a bit further, unless, of course, you use the...
17279
Rutherford, Michael
mrutherfurd
Aug 2, 2006 10:20 pm
... my ... the ... Burn the heretic! :-) Michael Rutherfurd ************** IMPORTANT MESSAGE ************** This e-mail message is intended only for the...
17280
Cédric Beust
cbeust
Aug 2, 2006 10:43 pm
... Hehe... If I'm a heretic because I recommend using your common sense instead of one-liners such as "always test first", then yes, guilty as charged :-) --...
17281
Michael Feathers
mfeathers256
Aug 3, 2006 3:17 am
... How do you know? ;-) Michael Feathers www.objectmentor.com...
Jean, Thanks for sending your message. Every tool manages to frustrate some people, even JUnit. :-) But it's very valuable to get feedback from frustrated...
17284
David Saff
dsaff
Aug 3, 2006 4:04 am
... This thread has, in my opinion, already veered away from the original poster's question, which seemed to be more about whether it was valuable to use JUnit...
17285
Cédric Beust
cbeust
Aug 3, 2006 4:21 am
Hi David, and thanks for stepping in. ... I'm not sure we moved away from the original topic. The original poster was basically asking "I don't like writing...
17286
Anna Skawinska
elfeczka
Aug 3, 2006 7:22 am
... Nothing at all - that's exactly how it works right now. It only bugs me that I need to be extremely cautious about eg. closing documents opened by the...