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...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Messages

Advanced
Messages Help
Messages 18349 - 18378 of 24393   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand Author Sort by Date ^
18349 avinash anand
avinash_anand Send Email
Nov 14, 2006
8:10 am
Hi All I am writing a test case in JUnit. The original class GetInfo.java has a method. String getSystemVersion(String str) which is under test. This method is...
18350 Shane Mingins
shanemingins Send Email
Nov 14, 2006
8:27 am
... I am not sure why you have to use the same logic to calculate the expected result? You have an xml file that u will use for the test (I personally might ...
18351 Joakim Ohlrogge
j0hlrogge Send Email
Nov 14, 2006
8:45 am
Hi, Not sure I got what you're trying to do, I didn't read the code that thoroughly, but if you know that given a certain xml-file contining X your method...
18352 Chris Dollin
anover_alias Send Email
Nov 14, 2006
8:52 am
... Can you not have a couple of XML files [1] with known answers and check that reading those files gets you the answers you expect? [1] Which you might...
18353 avinash anand
avinash_anand Send Email
Nov 14, 2006
10:02 am
Hi Shane This here is something different. I want to testh this code in a dynamic enviroment, meaning the system will be feed with different xml files using...
18354 Lasse Koskela
lassekoskela Send Email
Nov 14, 2006
12:13 pm
... If you don't know what the expected result is, then by definition you cannot test for it. With this in mind, how do you know which version the XML file...
18355 Joakim Ohlrogge
j0hlrogge Send Email
Nov 14, 2006
12:46 pm
To me it sounds like the first thing you need to do is take control of your environment from your tests. From what you wrote below maybe I would do something...
18356 andrew.p.mcdonagh@...
andy_ipaccess Send Email
Nov 14, 2006
1:14 pm
From: junit@yahoogroups.com [mailto:junit@yahoogroups.com] On Behalf Of Cédric Beust ? Sent: Saturday, October 28, 2006 10:35 AM To: junit@yahoogroups.com ...
18357 David Saff
dsaff Send Email
Nov 14, 2006
3:33 pm
I hate to repeat Michael's question, but can you provide a) evidence that your project is indeed recognized by Eclipse as a Java project (for example, it has a...
18358 David Saff
dsaff Send Email
Nov 14, 2006
3:35 pm
... That's by design. I'm open to the possibility that there's a good reason someone would want to mix test methods and classes in the same container class,...
18359 avinash anand
avinash_anand Send Email
Nov 14, 2006
4:05 pm
Hi Joakim Your suggestion was very helpful to me. I was missing the base line while testing. I was trying to test and compare the code with something which was...
18360 staaleund Send Email Nov 14, 2006
4:33 pm
I am working on making a wrapper implementation of some REST webservices from a PHP project in Java. I have 3 basic packages, the API package containing only...
18361 Joakim Ohlrogge
j0hlrogge Send Email
Nov 14, 2006
6:34 pm
I'm glad I could help :) I didn't put much thought into the "design" and I didn't try to implement the tests (normally I would write one test, watch it not...
18362 Johannes Link
jlinkyh Send Email
Nov 14, 2006
9:22 pm
For those wanting to run JUnit 4 tests across multiple projects in Eclipse I created a JUnit extension called ClasspathSuite ...
18363 Michael Hüttermann
michaelhuett... Send Email
Nov 15, 2006
3:21 pm
I would like to have a look on your complete code. The page you give the link for has a rendering error. Could you please fix it and show the code? Thanks. ...
18364 Al May
asdf4033 Send Email
Nov 15, 2006
11:29 pm
Hi, I'd like to migrate to JUnit 4.1 definitely. Before (with JUnit 3.8), I used to execute my tests by three ways: 1- within Eclipse ; 2- with a junit task in...
18365 issramirez Send Email Nov 15, 2006
11:32 pm
Hi, This is my first message on this group, i'm receiving the following error message when compiling my test program with lastest version of junit (recently...
18366 Joakim Ohlrogge
j0hlrogge Send Email
Nov 16, 2006
7:21 am
JUnit 4.x requires java 1.5 (jdk 5.0) http://java.sun.com/javase/downloads/index.jsp Hope this helps /Joakim Ohlrogge ... [Non-text portions of this message...
18367 Michael Hüttermann
michaelhuett... Send Email
Nov 16, 2006
11:16 am
Hi, running an ActiveTestSuite and adding several test methods of TestCases to it gives me (sometimes) different "Wrong test finished. Last started:...
18368 Chris Barham
ccbarham Send Email
Nov 16, 2006
2:06 pm
Thanks for your email Michael, I'm sorry you couldn't see the code. I just checked and it seems fine; perhaps a temporary glitch at the wikis host was the...
18369 Michael Hüttermann
michaelhuett... Send Email
Nov 16, 2006
2:23 pm
Hi, building and running a suite with @SuiteClasses expects passing TestCases (SampleTest.class, AnotherTest.class). Why can't I pass other suites too? ...
18370 David Saff
dsaff Send Email
Nov 16, 2006
3:13 pm
Michael, You should be able to. Can you give a more complete example? Thanks, David Saff ... [Non-text portions of this message have been removed]...
18371 David Saff
dsaff Send Email
Nov 16, 2006
9:12 pm
All, We've released JUnit 4.2. This is primarily a bug-fix release, and is up on SourceForge now. Release notes are at: ...
18372 David Vydra
dvydra2 Send Email
Nov 16, 2006
11:17 pm
Just noticed that Agitar released its JUnit generation. They have Flash demos on the site. Cheers, David http://www.agitar.com/news/pr/20061115.html...
18373 Wayne Fay
jaeger321 Send Email
Nov 17, 2006
11:51 am
And its cheap! ;-) Pricing and Availability: AgitarOne is licensed through an annual subscription fee for use on a specified number of unique Java classes....
18374 Ole Ersoy
ole_ersoy Send Email
Nov 17, 2006
11:11 pm
Man - I'm going to get one for the wife too! ... ____________________________________________________________________________________ Do you Yahoo!? Everyone...
18375 Kent Beck
kentlbeck Send Email
Nov 17, 2006
11:27 pm
Dear Al, We wrote the graphical runners because at the time there was no way to run tests besides the ugly/retro text runner. Once IDEs supported JUnit, it no ...
18376 David Saff
dsaff Send Email
Nov 18, 2006
4:05 am
Johannes, That's an excellent use of the RunWith extension hook. It looks like it handles the problem floated in the thread called "Dynamically discovering...
18377 David Saff
dsaff Send Email
Nov 18, 2006
4:23 am
Staaleund, I don't think I'm answering all of your questions, so feel free to re-ask if I miss something. ... The "Parameterized Test Case" pattern (ask Google...
18378 Jochen Hiller
jochen.hiller Send Email
Nov 18, 2006
1:23 pm
Hi, I agree with Kent: There is sufficient support in all IDE's that there will be no really need to maintain an JUnit owned UI based runner. But, I heard...
Messages 18349 - 18378 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