Bill, ... So, why does the text runner not use the class reloading? Does the swing runner use class-reloading "only" for that it can be used from within an...
Bernd
berndq@...
Apr 1, 2003 7:44 pm
7355
Sorry, I know very little about both of them until now. But it seems to me that I don't need necessarily JUnit test cases or suites if I use the new assert...
Yes I am a newbie. So please don't kill me :) I read this in the javadocs for TestRunner *A test runner either expects a static method suite as the entry point...
Manu Anand
manua@...
Apr 2, 2003 12:19 am
7357
Actually I meant to ask that how will the Test Runner extract the test methods. Will it just pick all the methods whose name begins with test?? -Manu Help...
Manu Anand
manua@...
Apr 2, 2003 12:19 am
7358
In response to my own problems and an earlier question, I've been thinking about how to test classes that retrieve things from static factories. I don't want...
First off I better say up front that this is not meant as a troll, or to start some sort of flame war about unit testing.... I'm really looking for simple...
Bernd, ... I believe the text runner does in effect reload classes each time by exiting the app after each run. Each time you run with the text runner, you get...
hi, i have read many examples of using asserEquals(expected, theResult). mostly in those examples the expected is already determined. what if i can't determine...
Hi-- I am still tearing my hair out trying to exercise EJBs with JUnit. Any further insights or help would be greatly appreciated. Based on Alan's comments (in...
Frank Burough
fburough@...
Apr 2, 2003 12:20 am
7365
... I simply keep two kind of tests in separate directories of my source tree. One kind is testing existing completed code, which should always pass 100%....
... Same way as you would call shell script from any Java code you can call from your JUnit Tests. What are you trying to archive? May be you can test classes...
... into ... How to test my application which takes a single argument in main()? You can write tests for each method of each class of your application, also...
... Looks like you found the answer ;-) ... Steve -- [Advert: Come to http://www.ot2003.org] "A LISP programmer knows the value of everything but the cost of...
... close ... I think the way to do this within the JUnit framework is to use the TestSuite to group tests. Looks something like this: public class DBTestCase...
Hi, I am trying to test a java application I have created a quite extensive test suite, which generates a new version of the test application. Everything works...
SR. SOFTWARE QA ENGINEER (SQA4) – E2Open – Redwood City, CA Hello, my name is Paul Stevens and I am a staffing consultant with a software company based in...
I'm running JDK 1.3, and I'm not sure what "bootstraping xml-apis.jar" means... ... __________________________________________________ Do you Yahoo!? Yahoo!...
I have a program which generates two files, one an SVG file and the other a simple HTML page. What is the best way to use JUnit to perform the tests? I don't...
Levi, I tried this - it doesn't work :( My emperical evidence from using JUnit indicates that setUp() and tearDown() are pretty much called before *each* test....
Assume that u want to test a application whose main method is in "Sample" class // import ur application related packages / classes public class SampleTest...
You will have to make your own task that will replace the <link> tag with <style> tag from overview-summary.html. In overview-summary.html replace ...
Jeff, did you design this up front, or did this evolve from TDD (Test Driven Development)? I'm curious as to what solution would naturally evolve out of TDD...
Hi, I am trying to write some test cases but I am not sure how to do it. I have a program which takes a XML input file and runs it through an XSLT process. ...
... Code has two effects; it returns a result to the caller or it changes state somewhere else. If you want to test code that doesn't return to the caller,...