I've discovered that my ClassLoaderSuite that loads each test class in its own ClassLoader also needs to set the thread's context class loader before running...
22302
Kent Beck
kentlbeck
Jan 20, 2010 6:18 pm
Besides the usual Git teething pains, what I had the most trouble with was PuTTY. I know what to do now, but it wasn't obvious. Unfortunately, I don't...
... I assume you mean a getting-started guide for github in particular? I found the on-site help sufficient, but I think Kent found that things didn't Just...
22299
David Saff
dsaff
Jan 20, 2010 2:04 pm
Sorry--Issue Tracker, on the left side. Or go straight here: http://github.com/KentBeck/junit/issues#sort=votes David Saff...
22298
David Saff
dsaff
Jan 20, 2010 2:02 pm
Bill, Thanks for that. Can you also create a bug to track it at github? I'll try to take a deeper look soon. David Saff...
22297
David Saff
dsaff
Jan 20, 2010 2:01 pm
The ability to automatically gather test classes from the classpath is provided by Johannes Link's cpsuite extension. You can then wrap a Categories runner...
22296
xianpants
Jan 20, 2010 12:45 pm
I'm excited about the new Categories feature. I have one question though that I haven't been able to work out: Must all of the specific tests be enumerated...
22295
Bill Shannon
bs00011
Jan 20, 2010 12:43 pm
Ok, here's how I reproduced the problem using JavaMail. You can find JavaMail at http://kenai.com/projects/javamail. You'll need to check out the source code...
22294
jens_schauder
Jan 20, 2010 8:10 am
Hi thanx for the confirmation. No I didn't file it at junit.org. I couldn't find the correct place to do that ... although I admit I didn't try very hard. Jens...
22293
David Saff
dsaff
Jan 20, 2010 3:03 am
Bill, Nothing you've said so far seems impossible, so I am indeed just trying to replicate the bug you're facing, for debugging. Steps to reproduce on...
22292
Bill Shannon
bs00011
Jan 19, 2010 11:46 pm
I heard from someone else off-list that, due to the design of JUnit runners, this almost certainly isn't going to work. All of the relevant code is part of an...
22291
yme0987654321
Jan 19, 2010 11:08 pm
Hi, I have submitted this issue in the past (http://github.com/KentBeck/junit/issues#issue/41) but now it has become more relevant (and perhaps a more...
22290
David Saff
dsaff
Jan 19, 2010 4:26 pm
All, There are many things I love about github, but in the past, I have found it someone bewildering to keep up with the various ways that maintenance work can...
22289
David Saff
dsaff
Jan 19, 2010 2:37 pm
Bill, Jens recently posted a helpful bug with Suite and Parameterized. It's possible the behavior you're seeing is related. Can you reduce your problem down...
22288
David Saff
dsaff
Jan 19, 2010 2:36 pm
Jens, Definitely a bug. Have you already logged it at junit.org as well? If not, I will, and we'll get on it soon. David Saff...
22287
David Saff
dsaff
Jan 19, 2010 2:31 pm
There's no default way. You could patch the Theory runner yourself, or submit a feature request at junit.org. Thanks! David Saff On Sun, Jan 17, 2010 at 8:29...
22286
B. Sai Prasad, M.Phil...
sai_prasadb
Jan 18, 2010 12:53 am
Hi All - I have a theory enabled test case, with few data points. When my theory method is executed with by the Theories runner, for few data points my theory...
22285
jens.schauder@...
jens_schauder
Jan 15, 2010 9:12 am
 Hi, I am trying to use the new experimental Categories Feature. Unfortunately it doesn't seem to be compatible with Parameterized Tests. I run the following...
22284
Bill Shannon
bs00011
Jan 15, 2010 4:12 am
Anyone have any ideas?...
22283
Peter Niederwieser
pniederw
Jan 14, 2010 11:23 pm
That's a problem with your Maven configuration. Not sure why it only surfaces with JUnit 4, but you have to configure the include patterns of ...
22282
yme0987654321
Jan 14, 2010 10:09 pm
There are many ways to handle this. The most "standard" is to use a different helper under test than in production (that share a common interface or base...
22281
martin liste larsson
blirp2001
Jan 14, 2010 4:01 pm
Since I couldn't find any documentation, I just changed the version number from 3.8.1 to 4.7 in my pom.xml-file (since that's the latest in the maven repo). ...
22280
David Saff
dsaff
Jan 14, 2010 1:55 pm
M, You should be able to run the 3.8.1 tests with JUnit 4. What steps did you take? David Saff On Wed, Jan 13, 2010 at 4:52 PM, blirp2001...
22279
James Abley
taboozizi
Jan 14, 2010 1:02 pm
2010/1/13 iltrex76 <albmarchi@...> ... the environment. Cheers, James [Non-text portions of this message have been removed]...
22278
iltrex76
Jan 13, 2010 11:39 pm
In my code, I would need to do something like if (CodeISNotRunningInJUnit()) { //do some operations that must not be executed if tests are running } reason is...
22277
blirp2001
Jan 13, 2010 11:38 pm
I've inherited a project using a mix of JUnit 3.8.1 and 4.4. The modules written for a Java 1.4 deployment is tested with 3.8.1, the modules that needs a 1.5...
22276
David Saff
dsaff
Jan 13, 2010 3:55 pm
testRunStarted gives a Description for the top-level suite, which can be recursively descended to find which tests will be run for each test. By the way, in...
22275
krosenvold
Jan 13, 2010 9:45 am
I am trying to create a per-class aggregation of the output from the junitcore run-listener, as is done by default in for instance maven surefire-plugin. I...
22274
Bill Shannon
bs00011
Jan 13, 2010 2:32 am
The way I have it set up, MyTest1 and MyTest2 are not discovered by the normal runner, so they never run by themselves. But otherwise, yes, MyTest1 does not...