... You could look into whether JEasyTest would do the trick for you: https://jeasytest.dev.java.net It does require AspectJ and I haven't tried JEasyTest...
... If you have the ability to use dynamic languages, you can certainly do this in Groovy and I would imagine Ruby (not sure). Otherwise, you might want to...
Paul King
paulk@...
Nov 1, 2007 9:43 am
20042
... Could you give us some more background on why you would want to do this? I think I only ever used this feature for doing Parameterized Tests, and JUnit 4...
... If it's just a method that your code is calling, you could wrap it in a simple Command interface and supply an implementation in your tests that does what...
A few weeks ago I wrote a blog <http://www.artima.com/weblogs/viewpost.jsp?thread=215899> to introduce Crap4J a prototype open-source tool that implements the...
Patrick, In JUnit 4, a skeleton for that might look like this: @RunWith(Parameterized.class) public class InputOutput { private String inputFile, outputFile; ...
The only issue I have with this whole thing is the fact I might have to discuss a tool/metric called CRAP with management. A shame it isn't called a similarly...
We discovered something disheartening from a testing standpoint: our development and production environments are different in ways which can, and do, change...
Why can't you run your unit tests using JET Excelsior? Does the ahead-of-time compiler remove reflection information that JUnit needs or something? And why...
Hi everyone, Since we always advertise for various XP Days here, we'd like to give something back that could be of interest to the members that did not attend....
I just tried it some days ago. I have some observations to share: - the metric and the tool look promising :) - I feel that in the current implementation, it...
... Hi Ilja, first of all, thank you for taking the time to try it and - even more - for the feedback. ... Thanks ... For my personal tastes, the current...
Why not just use its full name -- Change Risk Analysis and Predictions -- when dealing with "management"?? And share the joke (CRAP) name for your coworkers. ...
Hi, Alberto, I've downloaded and run it on some code with which I work, and also shown the results to some of my co-workers. I believe the idea is a useful one...
... Hi Joel, thank you for taking the time to try Crap4j and for having the courage to present it to your colleagues despite its provocative name :-). We fully...
... Hi Jason, Sorry you are having trouble. Here are some things you should double-check: 1) Eclipse should be version 3.2.1 or later 2) JDK should be 1.4.x...
I just tried out the plug-in on some of my projects and the metrics look interesting. One quick suggestion: Some filtering functionality would be nice, perhaps...
Per Jacobsson
perjacobsson@...
Nov 6, 2007 2:41 am
20062
I tried downloading it on my eclipse workspace couple of days back and had a trail run against Commons Collection API. It did showed a beautiful report with...
... look interesting. ... perhaps just the ability to exclude certain packages from the reports. Right now, one-shot code that I know is crap, and already...
... Hi Edu, Thank you for trying Crap4j. We are in the process of adding documentation (as well as demos) on the site. In the meantime, the following Artima...
... By adding the JUnit 4.4 jar file to your project's class path. Lasse -- Lasse Koskela * Author of "Test Driven" (Manning Publications, 2007) * * Reaktor...
... Hi Edu, I posted a 6 minute video on YouTube that shows the basic usage of Crap4J. The video quality is rather crappy (how appropriate) but hopefully the ...
Hey Alberto, I went through the article you pasted in your previous post as well as the video in youtube. They're great and thanks for help, that really ...
Hi Alberto. I've downloaded the update site and given it a whirl. The problem I'm facing is all tests fail with NoClassDefFoundError(s) during the run when ...