🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: newbie: JUnit and the TestDecorator

#2308
From: David S. Cooper
Date: Wed, 28 Mar 2001 22:06
26 lines
2235 bytes
Never nimd. I found example code in the "JUnit\Tests" subdirectory (dah!).
Thanks,
dave

David S. Cooper <dcooper@ksimaging.com> wrote in message
news:MSow6.91$v51.26800@nntp2.onemain.com...
> 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: <ldtw6.41$Ua4.95240@nntp3.onemain.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!news-xfer.nuri.net!enews.sgi.com!newshub2.rdc1.sfba.home.com!news.home.com!news-out.usenetserver.com!news-out-sjo.usenetserver.com!feed2.onemain.com!feed1.onemain.com!nntp3.onemain.com.POSTED!not-for-mail
References: <MSow6.91$v51.26800@nntp2.onemain.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5d71,ac99c91c00676794
X-Google-Attributes: gidf5d71,public
X-Google-Thread: 1089d0,ac99c91c00676794
X-Google-Attributes: gid1089d0,public
X-Google-Thread: fecd1,ac99c91c00676794
X-Google-Attributes: gidfecd1,public
X-Google-ArrivalTime: 2001-03-28 14:10:37 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!news-xfer.nuri.net!enews.sgi.com!newshub2.rdc1.sfba.home.com!news.home.com!news-out.usenetserver.com!news-out-sjo.usenetserver.com!feed2.onemain.com!feed1.onemain.com!nntp3.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
References: <MSow6.91$v51.26800@nntp2.onemain.com>
Subject: Re: newbie: JUnit and the TestDecorator
Lines: 28
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: <ldtw6.41$Ua4.95240@nntp3.onemain.com>
Date: Wed, 28 Mar 2001 14:06:03 -0800
NNTP-Posting-Host: 209.162.10.62
X-Complaints-To: abuse@onemain.com
X-Trace: nntp3.onemain.com 985817041 209.162.10.62 (Wed, 28 Mar 2001 17:04:01 EST)
NNTP-Posting-Date: Wed, 28 Mar 2001 17:04:01 EST