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 23049 - 23078 of 24405   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand Author Sort by Date ^
23049 davexor Send Email Nov 2, 2010
6:50 am
Hi there, Yesterday I was trying out the new features in junit 4.8.x and noticed that while Categories and SuiteClasses seem to be what I needed to group my...
23050 Kristian Rosenvold
krosenvold Send Email
Nov 2, 2010
4:54 pm
I've been looking at the possibilities for concurrent test execution in combination with the use of categories (for maven-surefire ...
23051 krosenvold Send Email Nov 2, 2010
4:59 pm
+1 to this David. I work on maven-surefire and will gladly implement whatever this bold decision may be ;) Kristian...
23052 David Saff
dsaff Send Email
Nov 2, 2010
5:43 pm
Kristian, That's a good question. If you create a suite using the Categories runner, you should be all set to run it using whatever Computer you want. I...
23053 Kristian Rosenvold
krosenvold Send Email
Nov 2, 2010
8:22 pm
Yes that solution is supported already; you can force surefire to use the 4.7 provider and just run an explicitly coded suite as the build target using...
23054 David Saff
dsaff Send Email
Nov 4, 2010
11:39 am
On Tue, Nov 2, 2010 at 4:22 PM, Kristian Rosenvold ... Yes, that's not in the current implementation. ... Yep. Also, have you seen Dale Emery's DynamicSuite?...
23055 Dale Emery
dhemery... Send Email
Nov 4, 2010
12:04 pm
Hi David and Kristian, ... It's currently called RuntimeSuite: https://github.com/dhemery/runtime-suite I do think DynamicSuite would be a better name. Not...
23056 Andrew Feller
andrew.feller@... Send Email
Nov 4, 2010
12:04 pm
Hello everyone, I am developing JUnit tests for transcoding ISO-8859-1 strings into UTF-8 and having difficulties with the correct approach to take. The...
23057 jp_listero
jgarbora Send Email
Nov 10, 2010
1:44 am
http://junit.sourceforge.net/doc/faq/faq.htm#running_5 Hi, I'm using cruiseControl ... And I need to configure ant to run my Junits ... I known that the info....
23058 Thomas Dempton
t.dempton Send Email
Nov 12, 2010
3:16 pm
Hi, ... However it seems using this command my "@BeforeClass&quot;-Annotations are ignored. When I select "run" in netbeans everything executes like expected. Any...
23059 Thomas Dempton
t.dempton Send Email
Nov 12, 2010
3:16 pm
Hi, I would like to execute my JUnit-4 tests as an ant task. However I've troubles setting the classpath, my jars are listed in a property called "exec-cp", ...
23060 David Saff
dsaff Send Email
Nov 12, 2010
3:22 pm
Thomas: a) While many people on this list use ant, and I hope one of us can help you, you may find more ant experts on an ant-specific list. b) Which class is...
23061 David Saff
dsaff Send Email
Nov 12, 2010
3:23 pm
Are your @BeforeClass annotations on Test1 and Test2, or on a suite not mentioned? David Saff...
23062 David
dljande Send Email
Nov 16, 2010
2:14 am
In Eclipse I have a project with a package and all my source code is in the one package. I would like to run JUnit test cases selectively from a separate Java...
23063 David Saff
dsaff Send Email
Nov 16, 2010
2:16 am
David, 1) You want new JUnitCore.run(Request.method(Try.class, "methodA")); 2) You can't both extend from TestCase and mark your tests with @Test. Remove the...
23064 david_syer Send Email Nov 17, 2010
3:30 pm
In BlockJunit4ClassRunner there is a deprecation with no explicit alternative for runBefores and runAfters (at least I didn't understand the comment, so if it...
23065 David Saff
dsaff Send Email
Nov 17, 2010
3:56 pm
This deprecation was a mistake. Expect a de-deprecation in 4.9. David Saff...
23066 gaurangnshah Send Email Nov 18, 2010
2:21 pm
Hi all, I want to send the mail to client after the test suit run. So is there any way i can come to know how many test cases have passed and how many...
23067 David Saff
dsaff Send Email
Nov 18, 2010
3:11 pm
gaurangnshah, The simplest solution may be to look at using ant to run and report on your tests. David Saff...
23068 David
dljande Send Email
Nov 19, 2010
1:52 am
Hi, Fantastic advice! I would also like to tell whether the methodA was actually executed i.e. does it exist. Thanks, David...
23069 David Saff
dsaff Send Email
Nov 19, 2010
2:07 pm
I think that if methodA does not exist, you will get an error message. Do you see different behavior? David...
23070 Insolvenční ...
pekarna2 Send Email
Nov 22, 2010
3:42 pm
Hi, I'm working on something similar, see http://ondra.zizka.cz/stranky/programovani/java/apps/JUnitDiff-junit-test-results-report-comparison.texy HTH, Ondra ...
23071 David
dljande Send Email
Nov 25, 2010
12:25 am
I had hoped so but with Result run = (new org.junit.runner.JUnitCore()).run(Request.method(Try.class, actionWord)); System.out.println("Test result: " +...
23072 David
dljande Send Email
Nov 25, 2010
1:43 pm
When I run a JUnit TC I am calling Result run = core.run(Request.method(Testing.class, testmethod)); from a standard Java application. I understand that I can...
23073 Julien Martin
balteo Send Email
Nov 26, 2010
1:56 am
Hello, I have not used unit testing a lot but I'll have to do so in my next position as a developer. I have always wondered how to test a method that is ...
23074 Michael Hill
uly562000 Send Email
Nov 26, 2010
4:26 am
This usually works: http://www.google.com/search?client=gmail&rls=gm&q=testing%20a%20private%20method ...
23075 nervousxians Send Email Nov 26, 2010
12:26 pm
Hi guys, I did search the group for an answer to my question, but could not find any clear opinions. The JUnit FAQ also has a preference on organization but...
23076 Nicolas Dermine
nicolas.dermine Send Email
Nov 26, 2010
12:27 pm
Hi Julien, try googling 'testing private methods', you'll find lots of people who will say that it's bad practice to want to do that (even if it's possible). ...
23077 Amal Elaine
amalcamel Send Email
Nov 26, 2010
12:27 pm
oops, I meant to say we make the private methods "protected&quot;.... sorry about that. ... From: Julien Martin To: junit@yahoogroups.com Sent: Thursday, November...
23078 Amal Elaine
amalcamel Send Email
Nov 26, 2010
12:28 pm
We have our tests in the same package as the code (under a folder called "test"), and then make the private methods public. ... From: Julien Martin To:...
Messages 23049 - 23078 of 24405   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