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
  Newest  |  < Newer  |  Older >  |  Oldest
Topics Messages Latest Post

Hi guys, JUnit4 comes with a nice annotation that supports checking for a special exception: @Test(expected=MyException.class) Well, the exception contains an...
14 Oct 23, 2009
1:19 pm

David Saff
dsaff
Send Email

Hello, I have gotten some strange error/failure messages with square braces in my strings. I have searched through the forum and don't seem to find any similar...
2 Oct 23, 2009
2:23 am

David Saff
dsaff
Send Email

The file always dies after the 1016th case, meaning taht I can switch tests around but it will still die at the same place. For example,I can put the code at...
2 Oct 22, 2009
8:58 pm

Forsberg, Mike
mike.forsber...
Send Email

I have a txt file that I need to update. The txt file has the following columns, delimited by tabs: Date Name Age Then I have a method called updateFile()....
3 Oct 22, 2009
6:44 pm

kentb
kentlbeck
Send Email

Hi, I'm using JUnit 4.3.1 with Java 1.5 on a Mac 10.5.6. We have a particular JUnit file that tests a web service client against a web service running...
1 Oct 22, 2009
6:15 pm

dave.alvarado@...
laredotornado
Send Email

All, For the last six weeks, I've been on paternity leave, which brought forward progress on JUnit to an even slower crawl than usual. In starting back up, we...
1 Oct 20, 2009
5:36 pm

David Saff
dsaff
Send Email

Hello, I'm looking for some advice on the best way to setup this test scenario... * Tests are run from Ant using a fileset with wildcards (so that we don't...
3 Oct 17, 2009
5:37 pm

le_garcon_enerve
le_garcon_en...
Send Email

A little over a week ago I decided to update my Java TDD course. I wanted to add a section that describes BDD or possibly even write a new course that teaches...
2 Oct 15, 2009
2:48 pm

kentb
kentlbeck
Send Email

Hello everyone. :-) Junit Starter here.. I supposed to write the unittests for a bigger project. My colleague has written a generic list class. What would be...
2 Oct 15, 2009
6:02 am

Daniel Brolund
daniel.brolund
Send Email

Eclipse (and various online sources) tell me the extension point org.eclipse.jdt.junit.testRunListeners is deprecated. After some hours of research I still...
3 Oct 8, 2009
11:32 pm

Brett Daniel
brettddaniel
Send Email

Either rename your test class to something other than "Test, or reference the annotation type by its fully qualified name (@..."). Cheers, Peter ...
1 Sep 30, 2009
8:18 pm

Peter Niederwieser
pniederw
Send Email

Hi Is anyone knows how to get the current executing test method name in the setup method before executing the test method in Junit 3.8. Thanks in Advance. ...
4 Sep 28, 2009
9:20 am

Mike Forsberg
bigmike_f
Send Email

Hi, What would be the best way to separate test data in the form of text files, excel or xml to keep the test data. The test code should pick the test data...
2 Sep 27, 2009
7:32 pm

Nat Pryce
nat_pryce
Send Email

http://junit.sourceforge.net/doc/faq/faq.htm#organize_1 Using this article I followed the instrunctions under Running Tests: In step 3 I have the full package...
3 Sep 26, 2009
12:32 am

Prathibha G
prathibha_g2k4
Send Email

Hi, Kent/David. Just did some testing and it seems that the execution chain with interceptors is actually: - @Before - ExternalResource#before() - @Test -...
3 Sep 25, 2009
4:16 am

Alistair Israel
aisrael
Send Email

Hi, I recently upgraded to JUnit 4 and started exploring Matchers. I found that the org.junit.Assert.assertThat() method doesn't allow my Matcher's...
2 Sep 23, 2009
10:39 pm

kentb
kentlbeck
Send Email

Hello, I am using JUnit 4.7 and used the new Rules mechanism, with TempFolder. What I needed was to have a temporary folder where the CUT could create some...
4 Sep 23, 2009
10:38 pm

kentb
kentlbeck
Send Email

hi! i have a problem with assertEquals. i use it several times in my tests but at one point it starts behaving strange. what i do: //a string String expected2...
6 Sep 21, 2009
8:04 am

Chris Dollin
anover_alias
Send Email

Hi everyone! Here is a question regarding enabling and disabling testMethods. I am running several .class tests in my suite() and I would like to have some...
5 Sep 4, 2009
5:26 pm

Forsberg, Mike
mike.forsber...
Send Email

Hi, list. Been playing around a bit with JUnit 4.7's new interceptors (rules) feature and in some cases, turning a @Before method (and a base class) into a...
4 Sep 3, 2009
10:53 am

David Saff
dsaff
Send Email

I've been playing a bit with Test Driven Development, and have read the book, but now I want to try it out, and am really not sure what to do next... My wife...
4 Sep 3, 2009
7:00 am

Alistair Israel
aisrael
Send Email

Hi Guys, I'm just wondering. Have the JUnit developers considered adding dependency annotations to JUnit? You could annotate your code with say ...
10 Aug 31, 2009
7:09 pm

adrian.kuhn
Send Email

I'm looking at the new Rule annotation in JUnit4. It's pretty nice, but it doesn't seem to inherit. That is if I have a super class that has the @Rule, sub...
17 Aug 27, 2009
7:18 pm

yme0987654321
Send Email

Hi, I only have an Anroid apk then want to create JUnit test case to test. How to create test case of JUnit project to test the it? Or can't use in only apk...
6 Aug 21, 2009
10:49 pm

明風
sober60kimo
Send Email

Any progress on generating a correct and complete javadoc for 4.7? As I noted in my email on Aug. 7, 2009, the javadoc in junit4.7.zip is not correct. David...
1 Aug 21, 2009
10:46 pm

Steven Buroff
sburoff1
Send Email

This is a common question, but just the same I can't see the trouble. On Windows with junit 4.1, I create a .bat file like so: set JARS=.\bin set...
3 Aug 19, 2009
12:14 am

Mike Forsberg
bigmike_f
Send Email

All, We are very happy to announce that last week, we secretly released JUnit 4.7: http://github.com/KentBeck/junit/downloads Release notes are linked here: ...
2 Aug 17, 2009
8:26 pm

David Saff
dsaff
Send Email

Purvi, There is no official certification offered by the developers. There certainly are training classes offered in unit testing and test-driven development,...
1 Aug 17, 2009
7:06 pm

David Saff
dsaff
Send Email

Hi - I am using JUnit 4.x version for testing all my core business classes, and some of them are exposed as webservices. I would like to test these webservices...
5 Aug 14, 2009
2:18 am

Arche Type
type.arche
Send Email

Hi, I always assumed that JUnitCore.runClasses(...) could also run classes annotated with @RunWith. Was this assumption wrong? It does not seem to work with...
3 Aug 11, 2009
6:17 pm

Johannes Link
jlinkyh
Send Email
  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