🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #2306

newbie: JUnit and the TestDecorator

#2306
From: David S. Cooper
Date: Wed, 28 Mar 2001 17:08
16 lines
1915 bytes
I admit to being new to Java programming. I'm starting a project that I plan
to do unit test on (also new to me) and have selected the JUnit package.
While I can get it to work I want to run repeated test on some of the
methods and need to understand the RepeatedClass (derived from
TestDecorator).

    class mytest extends RepeatedTest {

fails because it can't find a constructor. Unfortunately I don't know enough
about Java (probably design patterns also) to sort this out. What I'm
looking for is the simpilest operating code that demondtrates running
multiple test. Because I can find none using Google I'm turning to the
newsgroups. Can anyone point me to examples or have one to offer.

Thanks,
dave
Technical Details
Message-ID: <MSow6.91$v51.26800@nntp2.onemain.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!news-feed.riddles.org.uk!arclight.uoregon.edu!logbridge.uoregon.edu!feeder.qis.net!feed2.onemain.com!feed1.onemain.com!nntp2.onemain.com.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5d71,ac99c91c00676794,start
X-Google-Attributes: gidf5d71,public
X-Google-Thread: 1089d0,ac99c91c00676794,start
X-Google-Attributes: gid1089d0,public
X-Google-Thread: fecd1,ac99c91c00676794,start
X-Google-Attributes: gidfecd1,public
X-Google-ArrivalTime: 2001-03-28 09:16:17 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!news-feed.riddles.org.uk!arclight.uoregon.edu!logbridge.uoregon.edu!feeder.qis.net!feed2.onemain.com!feed1.onemain.com!nntp2.onemain.com.POSTED!not-for-mail
From: "David S. Cooper" <dcooper@ksimaging.com>
Newsgroups: borland.public.jbuilder.java.api,comp.lang.java,comp.lang.java.api
Subject: newbie: JUnit and the TestDecorator
Lines: 18
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
Message-ID: <MSow6.91$v51.26800@nntp2.onemain.com>
Date: Wed, 28 Mar 2001 09:08:24 -0800
NNTP-Posting-Host: 209.162.10.62
X-Complaints-To: abuse@onemain.com
X-Trace: nntp2.onemain.com 985799212 209.162.10.62 (Wed, 28 Mar 2001 12:06:52 EST)
NNTP-Posting-Date: Wed, 28 Mar 2001 12:06:52 EST