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: 31224
  • 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 23822 - 23851 of 24393   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand Author Sort by Date ^
23822 sk_smile5n Send Email Mar 1, 2012
5:00 pm
Hi Matthew, Thanks for your immediate response. I basically need to integrate both Junit and Nunit test cases in a common platform. Else will put it in this...
23823 Hunter Hegler
jhhegler Send Email
Mar 19, 2012
1:17 pm
Hey Everybody, What are some naming conventions you practice for naming unit tests? I'm Particularly interested in how you name unit tests for overloaded...
23824 Malte Finsterwalder
maltefinster... Send Email
Mar 19, 2012
3:05 pm
I usually don't name my tests after methods I test, but rather after the functionality to test and the result to expect. Some examples: ...
23825 Colin Vipurs
zodiac_zx6 Send Email
Mar 19, 2012
4:13 pm
The same as this but with the added part that we name our tests so that class name (-Test) + test name form a coherent sentence about the behaviour, e.g. ...
23826 Tomek Kaczanowski
kaczanowski.tomek@... Send Email
Mar 19, 2012
4:13 pm
Rule of a thumb: do not test methods, tests classes responsibility/behaviour. If you follow this rule, you won't have to find names for overloaded methods, but...
23827 Georg Thimm
le_garcon_en... Send Email
Mar 20, 2012
10:48 am
Hi! I try to describe the expected behaviour (much like the other posts). At some point, I included method names and aded a digit or tested behaviour, but that...
23828 Aslak
aslak_hellesoy Send Email
Mar 26, 2012
1:43 am
Hi all, I'm about to release Cucumber-JVM 1.0.0. (a pure Java implementation for the popular Ruby BDD tool). Cucumber-JVM has some decent JUnit integration (a...
23829 mphilipp1982 Send Email Mar 30, 2012
7:11 pm
Hi, we are currently working on making JUnit use and work with the latest version of Hamcrest (1.3.RC2). All but one matcher that used to be provided by...
23830 Dale Emery
dhemery... Send Email
Mar 30, 2012
8:37 pm
I've been using 1.3RC2 since it came out. I haven't noticed any problems, but I probably haven't used any of the moved matchers other than is(). Dale -- Dale...
23831 zekey99854 Send Email Apr 3, 2012
1:06 pm
Hello, I recently migrated 4.10 and I've got the following warning in a class that extends BlockJUnit4ClassRunner: The method withBefores(FrameworkMethod,...
23832 KandiSweetie7330
santhu_12ka4 Send Email
Apr 5, 2012
1:48 am
I have a Mockito code, String[] activeGroupName = {"activeJob1&quot;, "activeJob2&quot;}; ...
23833 David Saff
dsaff Send Email
Apr 6, 2012
7:43 pm
santhoshjoy, JUnit does not have a built-in mocking framework. You can use Mockito with JUnit, so you don't need to give up your Mockito code. David Saff ... ...
23834 David Saff
dsaff Send Email
Apr 12, 2012
7:08 pm
Steve, I think we over-aggressively deprecated withBefores. It is unlikely to be truly removed any time soon. Thanks, David Saff ... [Non-text portions of...
23835 Steve Hostettler
zekey99854 Send Email
Apr 12, 2012
7:57 pm
David, thanks for the answer. In that case, I'll stick to the current solution. Best Regards =========== Steve Hostettler ... [Non-text portions of this...
23836 Marc Philipp
mphilipp1982 Send Email
Apr 16, 2012
7:45 pm
All, there's now a beta snapshot available on https://github.com/KentBeck/junit/downloads Direct link:...
23837 Dawid Weiss
dawid.weiss@... Send Email
Apr 18, 2012
8:20 am
Hi everyone, So, AllDefaultPossibilitiesBuilder has ignoredBuilder() before annotated builder as shown here: @Override public Runner runnerForClass(Class<?>...
23838 David Saff
saffatgoogle Send Email
Apr 18, 2012
6:30 pm
Dawid, Which of these situations are you targeting? Situation 1: @RunWith(MyCustomSuite.class) @SuiteClasses({A.class, B.class, ...}) public class Suite { ......
23839 Dawid Weiss
dawid.weiss@... Send Email
Apr 18, 2012
10:55 pm
This would be Situation 2. I have a custom runner (not descending from JUnit) specifically to target things like reporting (that is -- I would like to know...
23840 David Saff
saffatgoogle Send Email
Apr 20, 2012
10:28 pm
Dawid, If there was a way to attach a listener implementation to a suite, would that give you what you're looking for? Runner is a fairly heavy-weight ...
23841 David Saff
saffatgoogle Send Email
Apr 20, 2012
10:28 pm
k.l, These are important and common questions, so often a Google search reveals some helpful resources. For example, you might want to start with ...
23842 Dawid Weiss
dawid.weiss@... Send Email
Apr 20, 2012
10:49 pm
Hi David, Yeah, well... I already wrote my Runner implementation -- http://labs.carrotsearch.com/randomizedtesting.html There are benefits of having a custom,...
23843 Kevin Cooney
kevincooney2000 Send Email
Apr 20, 2012
11:01 pm
Not a perfect solution, but you could add your own custom annotation for this purpose. Your custom runner would check if the target class has this annotation,...
23844 Dawid Weiss
dawid.weiss@... Send Email
Apr 21, 2012
7:32 am
Thanks. Yes, I could do this, like I did with other things (for example I support meta-annotation @TestGroup which allows one to define custom annotations like...
23845 Andres Olarte
olarte.andres@... Send Email
Apr 22, 2012
6:15 pm
Hello all, I'm looking for a good way to keep scenarios stored outside of the unit tests. Basically I'm thinking of some way to do black box testing based on...
23846 Matthew Farwell
mjfarwell Send Email
Apr 22, 2012
11:13 pm
A CSV/Excel file? Matthew Farwell. ... [Non-text portions of this message have been removed]...
23847 David M
jokerdmgmail Send Email
Apr 22, 2012
11:13 pm
Hello Andres. Maybe an XML file could be the simplest and easy way. <data> <value> <input1>1</input1> <input2>2</input2> <output1>3</output1>; </value> <value> ...
23848 Gerard Meszaros
gmkayaker Send Email
Apr 23, 2012
1:10 am
This problem has been solved many times already. For example, take a look at JBehave. It uses JUnit to run tests that are specified in Given/When/Then format....
23849 Dawid Weiss
dawid.weiss@... Send Email
Apr 23, 2012
5:37 am
Parameterized test runner is probably what you're after. The default one in JUnit does not support naming parameters (several folks provided patches, they're...
23850 Georg
le_garcon_en... Send Email
Apr 23, 2012
12:09 pm
Hi! Alternativly, use getData methods in CSVParametrized form the unofficialjunit project in sourceforge. Cheers, Georg...
23851 David Saff
saffatgoogle Send Email
Apr 23, 2012
7:30 pm
Dawid, Imagine a developer being dropped into a new project. There are JUnit tests using custom runners she's never seen, and some of those are failing. She'd...
Messages 23822 - 23851 of 24393   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

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