RE: JUnit with Orion, source included

2000-09-29 Thread Magnus Rydin
Title: RE: JUnit with Orion, source included





Jeff,
is this an implementation according to the article on JavaWorld or a custom one?
An extremely good initiative :)
WR


 -Original Message-
 From: Jeff Schnitzer [mailto:[EMAIL PROTECTED]]
 Sent: den 28 september 2000 20:08
 To: Orion-Interest
 Subject: JUnit with Orion, source included
 
 
 I wrote an extension to JUnit for testing EJB/server-side code that I
 think others might find useful. I've recently been bitten by 
 the XP bug
 so this is the first thing I had to do :-) Basically it's a servlet
 that will execute test cases and spit back the results as HTML.
 
 It includes a small Ant buildfile for anyone that is interested.
 
 You can find it at http://www.infohazard.org/junitee
 http://www.infohazard.org/junitee 
 
 Enjoy :-)
 
 Jeff Schnitzer
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
 
 I apologize if anyone is receiving this twice. It looks like the
 mailing list, including the archive, was sporadically losing 
 traffic for
 a day or two. The most recent message in the archive is dated three
 days ago. Anyone know what's up? I seem to be receiving traffic fine
 at the moment.
 





Re: JUnit with Orion, source included

2000-09-29 Thread Joe Walnes

RE: JUnit with Orion, source included[going off topic slightly]

A problem that JUnit does not handle particularly well is Web-App testing.
For any users of JUnit who want to test Servlet/JSP/etc output, have a look
at HttpUnit, and addon for JUnit that simulates web-requests to the server
and parses the results into a DOM tree that can be easily tested.

http://httpunit.sourceforge.net/

-Joe Walnes

 From: Jeff Schnitzer [mailto:[EMAIL PROTECTED]]
 Sent: den 28 september 2000 20:08
 To: Orion-Interest
 Subject: JUnit with Orion, source included


 I wrote an extension to JUnit for testing EJB/server-side code that I
 think others might find useful.  I've recently been bitten by
 the XP bug
 so this is the first thing I had to do :-)  Basically it's a servlet
 that will execute test cases and spit back the results as HTML.

 It includes a small Ant buildfile for anyone that is interested.

 You can find it at http://www.infohazard.org/junitee
 http://www.infohazard.org/junitee

 Enjoy :-)

 Jeff Schnitzer
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]

 I apologize if anyone is receiving this twice.  It looks like the
 mailing list, including the archive, was sporadically losing
 traffic for
 a day or two.  The most recent message in the archive is dated three
 days ago.  Anyone know what's up?  I seem to be receiving traffic fine
 at the moment.






RE: JUnit with Orion, source included

2000-09-29 Thread Jeff Schnitzer

I didn't actually know about the JavaWorld article when I wrote it;
otherwise, I might not have bothered reinventing that wheel :-)  For
anyone who hasn't read it, the article is at
http://www.javaworld.com/javaworld/jw-05-2000/f_jw-0526-testinfect.html.
I ran across a link to it at the Portland Pattern Repository's
EjbUnitTest site ( http://www.c2.com/cgi/wiki?EjbUnitTest).
 
I wrote mine more or less from scratch, although the concept is pretty
much identical.  My implementation addresses the classloader problem
(who wants to reload their app server between tests?), and the output is
a lot more attractive :-)  I would also like to enhance it with any
features that anyone thinks might be useful for unit testing EJBs, so
I'm open to any suggestions!
 
Later,
Jeff Schnitzer
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 

-Original Message- 
From: Magnus Rydin 
Sent: Fri 9/29/2000 2:46 AM 
To: Orion-Interest 
Cc: 
Subject: RE: JUnit with Orion, source included



Jeff, 
is this an implementation according to the article on JavaWorld
or a custom one? 
An extremely good initiative :) 
WR 

 -Original Message- 
 From: Jeff Schnitzer [ mailto:[EMAIL PROTECTED]] 
 Sent: den 28 september 2000 20:08 
 To: Orion-Interest 
 Subject: JUnit with Orion, source included 
 
 
 I wrote an extension to JUnit for testing EJB/server-side code
that I 
 think others might find useful.  I've recently been bitten by 
 the XP bug 
 so this is the first thing I had to do :-)  Basically it's a
servlet 
 that will execute test cases and spit back the results as
HTML. 
  
 It includes a small Ant buildfile for anyone that is
interested. 
  
 You can find it at http://www.infohazard.org/junitee 
  http://www.infohazard.org/junitee 
  
 Enjoy :-) 
  
 Jeff Schnitzer 
 [EMAIL PROTECTED]  mailto:[EMAIL PROTECTED] 
  
 I apologize if anyone is receiving this twice.  It looks like
the 
 mailing list, including the archive, was sporadically losing 
 traffic for 
 a day or two.  The most recent message in the archive is dated
three 
 days ago.  Anyone know what's up?  I seem to be receiving
traffic fine 
 at the moment. 
 


 winmail.dat


Re: JUnit with Orion, source included

2000-09-28 Thread Robert Krueger

At 11:07 28.09.00 , you wrote:
I wrote an extension to JUnit for testing EJB/server-side code that I
think others might find useful.  I've recently been bitten by the XP bug
so this is the first thing I had to do :-)  Basically it's a servlet
that will execute test cases and spit back the results as HTML.

It includes a small Ant buildfile for anyone that is interested.

You can find it at http://www.infohazard.org/junitee
http://www.infohazard.org/junitee

great, but the link seems to be wrong. could you check?

robert


Enjoy :-)

Jeff Schnitzer
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]

I apologize if anyone is receiving this twice.  It looks like the
mailing list, including the archive, was sporadically losing traffic for
a day or two.  The most recent message in the archive is dated three
days ago.  Anyone know what's up?  I seem to be receiving traffic fine
at the moment.

(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





RE: JUnit with Orion, source included

2000-09-28 Thread Jeff Schnitzer

Sorry about that.  A small misconfiguration of my firewall (visible only
from the outside, naturally) has been fixed :-)
 
Jeff

-Original Message- 
From: Robert Krueger 
Sent: Thu 9/28/2000 11:51 AM 
To: Orion-Interest 
Cc: 
Subject: Re: JUnit with Orion, source included



At 11:07 28.09.00 , you wrote:
I wrote an extension to JUnit for testing EJB/server-side code
that I
think others might find useful.  I've recently been bitten by
the XP bug
so this is the first thing I had to do :-)  Basically it's a
servlet
that will execute test cases and spit back the results as HTML.

It includes a small Ant buildfile for anyone that is
interested.

You can find it at http://www.infohazard.org/junitee
 http://www.infohazard.org/junitee

great, but the link seems to be wrong. could you check?

robert


Enjoy :-)

Jeff Schnitzer
[EMAIL PROTECTED]  mailto:[EMAIL PROTECTED]

I apologize if anyone is receiving this twice.  It looks like
the
mailing list, including the archive, was sporadically losing
traffic for
a day or two.  The most recent message in the archive is dated
three
days ago.  Anyone know what's up?  I seem to be receiving
traffic fine
at the moment.

(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





 winmail.dat


Re: JUnit with Orion, source included

2000-09-28 Thread jbirchfield


This is pretty cool...We are already using JUnit  with a stand alon client,
but I like this since I don't have to keep open an extra dos window, and
remember what to type.
I put an html page with all our unit test in fron of the servlet and can
pick and choose which ones to run.  Thanks!


BTW, anyone know how to get a list of all classes within a package?


James Birchfield

Ironmax
a better way to buy, sell and rent construction equipment
5 Corporate Center
9960 Corporate Campus Drive,
Suite 2000
Louisville, KY 40223


|+
||  Jason Rimmer  |
||  [EMAIL PROTECTED]|
||  Sent by:  |
||  owner-orion-interest@orion|
||  server.com|
|||
|||
||  09/28/00 04:50 PM |
||  Please respond to |
||  Orion-Interest|
|||
|+
  
--|
  |
 |
  |   To: Orion-Interest [EMAIL PROTECTED]  
 |
  |   cc:  
 |
  |   Subject: Re: JUnit with Orion, source included   
 |
  
--|



   The link works fine for me.

   Thanks for the great tool, Jeff.  Your generosity is
appreciated.

Robert Krueger wrote:

 At 11:07 28.09.00 , you wrote:
 I wrote an extension to JUnit for testing EJB/server-side code that I
 think others might find useful.  I've recently been bitten by the XP bug
 so this is the first thing I had to do :-)  Basically it's a servlet
 that will execute test cases and spit back the results as HTML.
 
 It includes a small Ant buildfile for anyone that is interested.
 
 You can find it at http://www.infohazard.org/junitee
 http://www.infohazard.org/junitee

 great, but the link seems to be wrong. could you check?

 robert

 
 Enjoy :-)
 
 Jeff Schnitzer
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 
 I apologize if anyone is receiving this twice.  It looks like the
 mailing list, including the archive, was sporadically losing traffic for
 a day or two.  The most recent message in the archive is dated three
 days ago.  Anyone know what's up?  I seem to be receiving traffic fine
 at the moment.

 (-) Robert Krüger
 (-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
 (-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
 (-) Tel: 06151 665401, Fax: 06151 665373
 (-) [EMAIL PROTECTED], www.signal7.de

--
Jason Rimmer
[EMAIL PROTECTED]