Hi All, I have a doubt in report generation using ANT tool from the Suite execution result in JUnit. So anybody please help me in this problem... ... Share...
20273
j_cumps
Feb 1, 2008 4:16 pm
Hi, Can you explain what information you need. Creating the report is not difficult: You run your testsuite with Ant's JUnit task, and create a report with the...
20274
Derry Cannon
d3rryc
Feb 2, 2008 2:14 am
Hey, there! I'm hoping someone on this end of the world can answer a question for me. I tried posting this on the Maven mailing list but haven't gotten any...
20275
Wayne Fay
jaeger321
Feb 2, 2008 10:52 am
Eh... we did reply with the answer: http://www.nabble.com/JUnit-tests-requiring-j2ee.jar-fail-when-running-mvn-surefire%3Atest-td15060503.html Did you not get...
20276
sytzevk
Feb 2, 2008 7:10 pm
Hi all, How or where can I submit source code and patches for JUnit bugs ? Kind regards, Sytze van Koningsveld....
20277
Lasse Koskela
lassekoskela
Feb 2, 2008 11:28 pm
Hi, ... I'm not sure what you mean by "unique to this class" but the static field initialized by a @BeforeClass method is accessible by all instances of the...
20278
Jason Davis
mohadibtheho...
Feb 2, 2008 11:36 pm
Hello, I am trying to test a parser class I wrote. In my test method I invoke the parser method I want to test with a string of data. However , the method...
20279
Lasse Koskela
lassekoskela
Feb 2, 2008 11:36 pm
Hi Sytze, ... Through the Sourceforge project's tracker: http://sourceforge.net/projects/junit/ Lasse -- Lasse Koskela * Author of "Test Driven" (Manning...
20280
Lasse Koskela
lassekoskela
Feb 2, 2008 11:39 pm
... By substituting a test double (a spy) for the listener in your unit test, effectively giving you access to the interactions between the parser and the...
20281
Andrew McDonagh
andy_ipaccess
Feb 2, 2008 11:54 pm
You need to create a object that implements the Listener interface, and use that in your test. These are generally known Mocks, Stubs,Fakes... e.g interface...
20282
Nat Pryce
nat_pryce
Feb 3, 2008 11:59 am
... When parsing structured data, the parameters and precise sequence of calls to the listener will be important. If you write your mock objects by hand it...
20283
Andrew McDonagh
andy_ipaccess
Feb 3, 2008 12:09 pm
... Not necessarily, we don't know what the parsing algorithm is, so can't make this call. ... Don't get me wrong, Jmock and the other mocking frameworks are...
20284
Jason Davis
mohadibtheho...
Feb 3, 2008 8:10 pm
Thanks everyone for the replies :) I wound up searching the archives with the word asynchronous and found mention of FutureResult. Pretty cool class :) That...
20285
Milan Milanovic
milanmilanovich
Feb 3, 2008 8:11 pm
Hi, if I may rewrite my question, when I run this "Test" class, how many instances of this class are created and runned ?! -- Thx, Milan. ... From: Lasse...
20286
Srinivasan TK
tksri2000
Feb 3, 2008 8:11 pm
I am trying to use <junit> target in ANT 1.6 and have class loader issues as described in this FAQ. http://ant.apache.org/faq.html#delegating-classloader I am...
20287
James Abley
taboozizi
Feb 4, 2008 2:07 pm
... Well, I just did a little experiment, which confirmed my intuitive understanding of how it works. public class TestBeforeClass { public static MyClass ins;...
20288
Mike Foley
mike_foley_0...
Feb 4, 2008 2:56 pm
Hi, I am interested in gathering insight into executing and managing tests where the environment is a possibly large set of virtualized (ie, VMWare) machines...
20289
Kent Beck
kentlbeck
Feb 4, 2008 5:48 pm
The answer to what I think is Milan's question is "one for each method annotated with @Test". The order, James, is as you have pointed out. Regards, Kent Beck ...
20290
Hobbs, Joseph
thedirector721
Feb 4, 2008 7:05 pm
Does anyone have any recommendations on how they arrange/group their jUnit tests? I've poked around the net but haven't gotten much in this category... The...
20291
Simon Chappell
spchappell
Feb 4, 2008 7:12 pm
... Try the JUnit FAQ. This entry might be a good place to start: http://junit.sourceforge.net/doc/faq/faq.htm#tests_15 There are many good pieces of...
20292
thedirector721
Feb 4, 2008 11:59 pm
Simon, ... Definitely, and started there first! It gave me some really good pointers and make me rethink some of my strategy! ... behaviours. ... for ... ...
20293
milanmilanovich
Feb 4, 2008 11:59 pm
Dear Mr. Beck, that's exactly what I needed to know. Instance of Test class is created for every @Test method. Thank you. _____________________________ Best...
20294
j_cumps
Feb 5, 2008 7:39 am
If you exactly follow the instructions for Ant 1.6, it will work. faq: <style> or <junit> ignores my <classpath> - Ant 1.6.x version ...
20295
Böhm, Martin
martinboehms...
Feb 5, 2008 11:55 am
... I also make the experience to think in terms of behaviors of the class under test and the methods. For myself I think thats the best way to test the...
I ran diagnostics on the ant i am using. I see junit : Missing dependency junit.framework.Test for junit.. I didnt quite follow the instructions on how to go ...
20298
Kent Beck
kentlbeck
Feb 5, 2008 10:34 pm
Walter, Thanks for the report. I finally fixed it in head. Cheers, Kent Beck Three Rivers Institute _____ From: junit@yahoogroups.com...
20299
j_cumps
Feb 6, 2008 12:03 pm
What version of junit.jar did you place in ant/lib? Try if replacing your junit.jar with JUnit version 3.8 solves the issue. Regards, Jan ... ...
20300
Megan Brown
agiledevelop...
Feb 7, 2008 3:18 pm
Agile Development Practices 2008 Conference November 10-13, 2008 * Orlando, Florida Shingle Creek Resort http://www.sqe.com/go?NG08ADP...
20301
Francesco
won_espylacopa
Feb 8, 2008 3:02 am
Hello Everyone, I am interested if the "annotated description" feature can get the javadoc method description and adding a textual description to its relative...