We have an Eclipse plug-in that calculates path and branch coverage, measures code testability, and designs JUnit tests. The plug-in is free for the open...
... I don't know of a way to do that, but rather than excluding the classs w/out tests, why not include only the classes that have tests? If you follow a...
Hi All, The classes that my JUnit test class tests loads external files. These files can only be referred to using relative paths in the code to maintain...
Hi Ron, I know I am not answering your exact question and this may not be an option but... When I am faced with the problem that I need to load an external...
Hi Ron, I know I am not answering your exact question and this may not be an option but... When I am faced with the problem that I need to load an external...
... http://junit.cvs.sourceforge.net/junit/junit/build.xml?revision=1.35&view=markup Thanks a lot. Where do I find .junit.properties? -- Regards, Vitaliy...
.junit.properties is an optional file that you can put in your home directory to customize the ant build. If the current script is working as desired, there's...
Hi all, I have been playing with JRuby recently and in particular how to embed Ruby in Java applications. I believe that mixing languages rather than switching...
Hi all I have created test cases for normal HTML components in JDeveloper that too for static components. How can i do the same for ADF components. What are...
Joakim, I think it's really interesting stuff. I'm not currently using Ruby, but I have built Java / Ruby hybrid systems in the past, and I think I would use...
Thanks, I think so too :) I think that with custom runners JUnit has a good chance to be the adapter between a whole host of testing frameworks out there and...
Actually, I think that while TestRunners work great to extend JUnit, they interact very poorly with IDE's, which are often hardcoded to understand only the...
I have not tested this but I just assumed that if you used class-descriptions the IDE runner would know which file to open based on that information... Well,...
Cedric, I've seen many custom JUnit 4 Runners work perfectly with Eclipse, and haven't seen Eclipse get completely lost since 3.1. If anyone has a favorite...
Hi I wanted to compare to float arrays and assert they are not equal, however, junit is a bit of a pain in this direction as 1. assertArrayEquals doesn't...
I like the idea of testing Java classes with rspec and have been playing around with it myself. Integrating it with the JUnit runner in Eclipe would definitely...
Per Jacobsson
perjacobsson@...
Sep 10, 2007 4:58 pm
19845
Hi Per, I just realized I'm going of topic even for the list so I start a new thread and try to keep it short :) I think testdriving Java with RSpec is really...
Hello, Here is my practice about TDD in my daily life , But I dont know if I make any mistakes, so could you please tell me how to practice TDD in your daily...
... It seems like there is a large jump in the amount of code in this refactoring step. If it were just removing the duplicate space, you could do that with...
... Your friends have a point. Just like everything else, use TDD sparingly. I understand you are currently doing this as an exercise, so it's healthy to take...
... What if you started with a simpler test? @Test public void emptyString() { Assert.assertEquals("", reverse("")); } The next test would be a one-word...
... I'm surprised that you quickly throw away business code and rewrite it when you have tests. Why wouldn't you refactor it? Incidentally, I don't think it's...
... This is perhaps great advice for a very experienced developer, someone who has the prescience to know when they are about to write perfect code. Otherwise,...
... Agreed. I think TDD is a great learning tool for beginners, and I definitely encourage Yang Gu to keep experimenting. I also think he should not dismiss...
... Fair enough, but I think it's equally dangerous to tell a novice "always do this" or "always do that". In doubt, just ask, and the original poster did...
Actually, I don't have that much experience with rspec. So far I've spent about a day experimenting with it and JRuby, going over my typical JUnit / mock...