Search the web
Sign In
New User? Sign Up
junit · JUnit, the Java unit testing framework written by Kent Beck and Erich Gamma.
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 20040 - 20069 of 22044   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
20040
... 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...
Lasse Koskela
lassekoskela
Offline Send Email
Nov 1, 2007
9:05 am
20041
... 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@...
Send Email
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...
James Abley
taboozizi
Online Now Send Email
Nov 1, 2007
10:01 am
20043
... 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...
James Abley
taboozizi
Online Now Send Email
Nov 1, 2007
10:05 am
20044
James, I use the Java code as an algorithm and I put the actual parameters into files on the file system. For example, I might have these files ...
pmcevoy12
Offline Send Email
Nov 1, 2007
4:46 pm
20045
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...
albsavoia
Offline Send Email
Nov 1, 2007
5:16 pm
20046
Patrick, In JUnit 4, a skeleton for that might look like this: @RunWith(Parameterized.class) public class InputOutput { private String inputFile, outputFile; ...
David Saff
dsaff
Offline Send Email
Nov 1, 2007
8:58 pm
20047
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...
Greg Irvine
gregirvine
Offline Send Email
Nov 1, 2007
11:13 pm
20048
We discovered something disheartening from a testing standpoint: our development and production environments are different in ways which can, and do, change...
Buddha Buck
buddhabuck
Online Now Send Email
Nov 1, 2007
11:14 pm
20049
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...
Nat Pryce
nat_pryce
Offline Send Email
Nov 2, 2007
9:17 am
20050
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....
Niraj Khanna
nkhanna_01
Offline Send Email
Nov 3, 2007
7:34 pm
20051
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...
Ilja Preuss
ipreussde
Offline Send Email
Nov 4, 2007
10:37 pm
20052
... 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...
albsavoia
Offline Send Email
Nov 4, 2007
11:02 pm
20053
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. ...
Wayne Fay
jaeger321
Offline Send Email
Nov 5, 2007
8:53 am
20054
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...
Joel Neely
joelneely
Offline Send Email
Nov 5, 2007
2:13 pm
20055
The Eclipse plugin doesn't seem to work properly. I run it on a project but no results are shown. ... -- Jason Rogers "I am crucified with Christ:...
Jason Rogers
jacaetev
Offline Send Email
Nov 5, 2007
2:39 pm
20056
... 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...
albsavoia
Offline Send Email
Nov 5, 2007
9:28 pm
20057
... Worked fine for me. Where the tests executed? Cheers, Ilja...
Ilja Preuss
ipreussde
Offline Send Email
Nov 5, 2007
9:30 pm
20058
... What I noticed is that the used runner executes several tests in parallel. Perhaps your tests expect to be run serially?...
Ilja Preuss
ipreussde
Offline Send Email
Nov 5, 2007
9:31 pm
20059
... 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...
albsavoia
Offline Send Email
Nov 5, 2007
9:35 pm
20060
... I've run it with 1.6, and didn't experience any problems besides the HeadlessExceptions. Cheers, Ilja...
Ilja Preuss
ipreussde
Offline Send Email
Nov 5, 2007
10:10 pm
20061
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@...
Send Email
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...
edu_kumar
Offline Send Email
Nov 6, 2007
2:41 am
20063
How do I enable the usage of JUnit 4.4 in Eclipse? Thanks...
choweining
Offline Send Email
Nov 6, 2007
2:41 am
20064
... 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...
albsavoia
Offline Send Email
Nov 6, 2007
3:38 am
20065
... 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...
albsavoia
Offline Send Email
Nov 6, 2007
3:45 am
20066
... 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...
Lasse Koskela
lassekoskela
Offline Send Email
Nov 6, 2007
5:18 am
20067
... 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 ...
albsavoia
Offline Send Email
Nov 7, 2007
1:14 am
20068
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 ...
edu_kumar
Offline Send Email
Nov 7, 2007
8:53 am
20069
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 ...
Greg Irvine
gregirvine
Offline Send Email
Nov 7, 2007
8:53 am
Messages 20040 - 20069 of 22044   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help