Marc, ... Actually, that would be a really interesting experiment. I hope you're right that the current voting at github drastically undercounts the number...
23273
quankk
Feb 19, 2011 12:14 pm
Do you know any Junit class in California (Class room or online)?...
23274
Steve Freeman
smg_freeman
Feb 21, 2011 9:22 am
If you're new, I wouldn't start with our book, it's intended for people with some experience. Off the top of my head, I still recommend Dave Astels' book for...
23275
Marc Guillemot
mguillemot
Feb 21, 2011 9:44 am
David, ... please be serious, everybody knows that it is an other order of magnitude! ... I have the unpleasant impression that you didn't really read the ...
23276
David Saff
dsaff
Feb 21, 2011 3:44 pm
... Marc, Yes, surely they can: ForkingVMTestRunner: additional runner ParameterizedRunner: additional runner NotYetImplemented: an additional annotation...
23277
Marc Guillemot
mguillemot
Feb 21, 2011 4:17 pm
... yes ... it could but it doesn't makes sense. As runners can't be composed, it should be handled at the root like @Ignored ... this doesn't make sense for...
23278
David Saff
dsaff
Feb 21, 2011 5:03 pm
Marc, ... But Rules can be composed. ... Changing AssertionFailedException to AssertError as part of the upgrade from JUnit 3 to JUnit 4 internally to Google...
23279
Satheesh Jayabalan
satheesh_jey
Feb 22, 2011 2:28 pm
Hi All, Am struck with Running JUnit Test suite from Ant. Could some one help me by providing tutorial in integrating JUnit Test suite with Ant . Thanks. -- ...
23280
roua
rouadream
Feb 22, 2011 2:28 pm
hey everyone, i need help combining the UML with the Junit, i need to know how to create the unit tests from the UML diagram, please do help me, i'm really all...
23281
David Saff
dsaff
Feb 22, 2011 2:31 pm
roua, I'm sorry for the short timeframe you've been given. There's no automatic way to create unit tests from a UML diagram. You want to think through what...
23282
David Saff
dsaff
Feb 22, 2011 2:33 pm
Satheesh, There is some good documentation if you Google for "junit ant". Can you be more specific about what you're trying, and what's happening in response?...
23283
roua al-taee
rouadream
Feb 22, 2011 4:22 pm
dear professor david, u have no idea how much i'm happy with your answer, what about using the JML with the Junit???? the JML gives the needed info for the...
23284
David Saff
dsaff
Feb 22, 2011 5:01 pm
roua, Generating JUnit test cases from JML has been done on a research basis. I'm not aware of an enterprise-ready tool to do it automatically. Good luck, ...
23285
Malte Finsterwalder
maltefinster...
Feb 22, 2011 6:53 pm
Hi Marc, ... I don't see, that David does not have any interest in accepting your changes. I too feel, that he is trying hard to find a way to accomodate your...
23286
rene_scheibe
Feb 23, 2011 12:36 am
If I perform the below, it returns null. Request.classes(SOME_VALID_CLASSES).getRunner().getDescription().getDisplayName() How can I achieve to set a proper...
23287
julianbutnotassange
julianbutnot...
Feb 23, 2011 9:13 am
Hi there, I hope this is the right group to ask. Terminology in the literature is a bit all over the place so please be patient and let me try to clarify. (I'm...
23288
julianbutnotassange
julianbutnot...
Feb 23, 2011 9:51 am
Apologies, I just realised that I used 3 different identifiers for the same thing: myOutput, output, myObject Obviously the code does not compile :) Cheers, ...
23289
banksysan
Feb 23, 2011 11:59 am
Hia all, I'm setting up an expected exception in a JUnit test. In the class I have: @Rule public ExpectedException thrown = ExpectedException.none(); At the...
23290
Marc Philipp
mphilipp1982
Feb 23, 2011 1:24 pm
Dave - you can use ExpectedException.expect(Matcher) [1] to supply a custom Hamcrest matcher that checks the inner exception of the exception. [1] ...
23291
banksysan
Feb 23, 2011 2:24 pm
Cheers Ken, The solution I came used was this: final String fieldName = "UnknowFieldName"; thrown.expect(MasterCatalogueBadMergeDataException.class); ...
23292
Dale Emery
dhemery...
Feb 23, 2011 10:20 pm
Hi Julian, Let's say I have an integration test which simply calculates the value and ... I think so, though I haven't tried it. Here's an approach that occurs...
23293
julianbutnotassange
julianbutnot...
Feb 24, 2011 4:17 am
Thanks Dale, To be honest I'm not too concerned about how to implement the plumbing, but how to achieve the core bits, i.e. the generic comparison (ideally...
23294
douggiefox
Feb 24, 2011 4:16 pm
Hi I'm refactoring and I've created a helper class that I'm trying to test. The code I end up with is this: public class SQLHelper { def connection String url...
23295
gabriele.kahlout
gabriele.kah...
Feb 25, 2011 11:46 pm
I have always wondered how to test a method that is ... I've just released a new tool that should solve that problem for you. After several patches =), your...
23296
Jose Donizetti
jose.donizetti@...
Feb 26, 2011 1:39 pm
Well, in my opinion it does not make sense for you to test an private method! If you feel like doing it, it's a matter that your class is doing more than it...
23297
Joakim Ohlrogge
j0hlrogge
Feb 26, 2011 3:31 pm
Hi I have not followed JUnit for a while. I have mostly been using ScalaTest and Midje. Today I felt that using JUnit with scala might not be the worst idea. I...
23298
gaurangnshah
Feb 28, 2011 9:19 am
Hi folks, i would like to know if there is any way to stop the execution of the JUnit test programmatically...
23299
gaurangnshah
Feb 28, 2011 9:19 am
HI Folks, I would like to know if there is any way to log the message in the report as there is in RerpotNG....
23300
Jan Cumps
j_cumps
Feb 28, 2011 4:18 pm
 What are you using to create the report? Ant? The Ant JUnit tasks logs all output to the xml test result files. You can adapt Ant39;s JUnitReport stylesheet...
23301
Michael Hill
uly562000
Feb 28, 2011 7:34 pm
Folks... I only ever test a private function when I'm attacking some legacy code. That desire to test is evidence for me of a Large Class smell. Sometimes in ...