Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

junit · JUnit, the Java unit testing framework written by Kent Beck and Erich Gamma.

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 31223
  • Category: Java
  • Founded: Nov 6, 2000
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Messages

Advanced
Messages Help
Messages 23369 - 23398 of 24384   Newest  |  < Newer  |  Older >  |  Oldest
Messages: Simplify | Expand Author Sort by Date v
23398 stefanroels Send Email Apr 21, 2011
10:53 am
I have a template class and I have written an equals method to ensure that the proper logic is used when testing equality. However assertEquals never calls...
23397 i6941 Send Email Apr 20, 2011
10:55 pm
I write a siple program convert user's input to test case and invoke JUnit to run it. In Eclipse and Netbeans, you can see a progress bar when you run several...
23396 Swapnil Sapar
swapsapar Send Email
Apr 20, 2011
10:55 pm
Hi, I have been searching abt this for a while now. Could not find any good answer. I'm using JUnit 4.8.1 but can go to JUnit 3 if I have too. Here is my...
23395 Neale Upstone
nealeu Send Email
Apr 19, 2011
10:04 pm
I'll add another scenario into this mix: assumptions. Tools currently don't have the ability to report failed assumptions separately either. Given the tooling...
23394 lars.vonk Send Email Apr 19, 2011
7:27 am
Hi, Thanks for the pointers everyone. I will look into it. I like Bill's suggestion. Since this concept is becoming more popular imho it would be nice if it is...
23393 Bill Venners
billvenners Send Email
Apr 17, 2011
3:40 am
Hi David, I usually see this concept called "pending" in other test frameworks. It is a useful concept, especially when testing in a BDD style. People like to ...
23392 Charlie Poole
cpoole98370 Send Email
Apr 16, 2011
8:35 pm
Hi David, In NUnit 3.0, I'm using the following as a field of TestResult, to represent the overall outcome of the test. It was inspired by the Gallio folks. ...
23391 David Saff
dsaff Send Email
Apr 16, 2011
8:13 pm
My current feeling is that the best thing to do is to somehow allow custom categories of test results. I'm very reluctant to increase the number of built-in...
23390 Marc Guillemot
mguillemot Send Email
Apr 15, 2011
7:29 am
Hi, perhaps can you have a look at HtmlUnit's @NotYetImplemented annotation. This is what we use for tests that are known not yet to work. These tests are...
23389 lars.vonk Send Email Apr 15, 2011
12:02 am
Hi, I would like to see progress in (acceptance) tests not yet implemented. I want these reported differently than normal failures. Is there a way in JUnit to...
23388 David Saff
dsaff Send Email
Apr 14, 2011
3:28 pm
All, I've got good news and bad news. The good news is that GitHub has released Issues 2.0, which, among other things, fixes the sorting options in the issues...
23387 Indrit Selimi
indritselimi Send Email
Apr 12, 2011
8:31 pm
Maybe you can use the Parameterized runner wired with your preferred RunnerScheduler (you have complete control on statement schedule). An example could be...
23386 David Saff
dsaff Send Email
Apr 8, 2011
6:25 pm
It is as of 4.9b1: https://github.com/dsaff/junit/blob/master/src/main/java/org/junit/ClassRule.java Share and Enjoy, David Saff...
23385 David Saff
dsaff Send Email
Apr 8, 2011
6:21 pm
That should be simple to encapsulate as a Rule. I'm not likely to get to it immediately (there's higher-voted feature requests to get to first), but I'd...
23384 David Saff
dsaff Send Email
Apr 8, 2011
6:20 pm
Neale, I was thinking something simpler, such as just using ErrorCollector.checkThat directly. David Saff On Thu, Apr 7, 2011 at 7:42 PM, Neale Upstone...
23383 lienrune Send Email Apr 8, 2011
5:29 pm
Is it possible to define rules to be run BeforeClass and not on Method level which I have found so far ?...
23382 Cédric Beust 
cbeust Send Email
Apr 8, 2011
12:27 am
FYI, this is how you do it with TestNG: @Test(invocationCount = 1000, threadPoolSize = 20) public void webServiceTest() { ... } Maybe something to consider for...
23381 Neale Upstone
nealeu Send Email
Apr 8, 2011
12:17 am
The ErrorCollector rule is interesting, in that assertThat(...) should be sufficient to add items without a change from Assert.assertThat(). How that would...
23380 David Saff
dsaff Send Email
Apr 7, 2011
5:11 pm
I don't have a built-in solution for running the multi-threading--you could probably do that with basic built-in Java threading primitives. (Let us know if you...
23379 uince1981 Send Email Apr 7, 2011
12:47 pm
Hi, I'm new to java and Junit, I need to stress test a set of web services, now for each web service I have a test like this: @Test public void...
23378 David Saff
dsaff Send Email
Apr 4, 2011
8:44 pm
I've generally found that it's nearly impossible to get "public" and "private" to mean everything I'd like them to mean: - Whether or not accessing the...
23377 Gabriele Kahlout
gabriele.kah... Send Email
Apr 4, 2011
3:11 pm
On Mon, Apr 4, 2011 at 10:51 AM, Joakim Ohlrogge ... neither do i ... same here..and because i look for the highest value from my tests/coding I try to...
23376 Bill Venners
billvenners Send Email
Apr 4, 2011
8:57 am
Hi Daniel, Your email two weeks ago made me realize that testing combinations of invalid data is another use case for table-driven property checks in ...
23375 Joakim Ohlrogge
j0hlrogge Send Email
Apr 4, 2011
8:51 am
The argument: "I don't like the idea of changing production code just for testing" would not rub me the wrong way if the changes generally introduced for...
23374 Lance Zant
lancezant Send Email
Apr 3, 2011
11:11 pm
Ok, I think I finally get that the argument against testing private methods is a preference to push them down into finer grained classes where they are...
23373 Gabriele Kahlout
gabriele.kah... Send Email
Apr 3, 2011
1:38 pm
I think it's important to reduce the burden of TDD and having to worry about privates by trying to test them through public interfaces/wrappers is just not...
23372 Simon Chappell
spchappell Send Email
Apr 2, 2011
3:38 pm
... +1 with extra awesome. Simon -- simonpeter.org | simonpeter.com | newlife-upc.org [Non-text portions of this message have been removed]...
23371 MarvinToll.com
y153446 Send Email
Apr 2, 2011
3:34 pm
Reflection is always the best way. Reflect on why the design lacks convenient testability....
23370 josephjohnallen Send Email Apr 1, 2011
1:39 pm
thanks...
23369 Cédric Beust 
cbeust Send Email
Mar 31, 2011
10:10 pm
To add to the good advice that's been given so far: you might also want to consider making your method more visible for testing and use an annotation or a...
Messages 23369 - 23398 of 24384   Newest  |  < Newer  |  Older >  |  Oldest
Add to My Yahoo!      XML What's This?

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