RE: Collecting tests?

"Brent Vukmer" <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.squeak.foundation
Message-ID <[email protected]>
Well, I was thinking you *could* code/maintain some tests -- but even
more importantly, get a process going ( perhaps like Andreas just
described ) and once it gets going, keep it rolling!  

Squeak Needs Stewards!

-----Original Message-----
From: Marcus Denker [mailto:[email protected]]
Sent: Friday, February 28, 2003 11:43 AM
To: Discussing the Squeak Foundation
Subject: Re: [Squeakfoundation]Collecting tests?

> Goran, how about adding a "Tests" category to SqueakMap?  Marcus, you 
> could be the Steward of that whole category.  

Yes, we should have a default-maintainer for all test-packages that
the package-maintainer him/herself don't want to manage... 

   Marcus

-- 
Marcus Denker [email protected]  -- Squeak! http://squeak.de

_______________________________________________
Squeakfoundation mailing list
[email protected]
http://lists.squeakfoundation.org/listinfo/squeakfoundation
From [email protected] Fri Feb 28 16:57:40 2003
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: (qmail 3179 invoked from network); 28 Feb 2003 16:57:40 -0000
Received: from mail5.bluewin.ch (195.186.1.207)
  by mail.theinternetone.net with SMTP; 28 Feb 2003 16:57:40 -0000
Received: from aSqueakSystem (62.202.85.22) by mail5.bluewin.ch (Bluewin AG
	6.7.015)        id 3E10609000704534; Fri, 28 Feb 2003 16:57:39 +0000
Message-ID: <[email protected]> (added by
	[email protected])
X-Mailer: Celeste 2.0.4857
Date: Fri, 28 Feb 2003 17:32:55 +0100 
To: The general-purpose Squeak developers list
	<[email protected]>
From: Hannes Hirzel <[email protected]>
cc: Craig Latta <[email protected]>
cc: Discussing the Squeak Foundation
	<[email protected]>
Subject: [Squeakfoundation]
 [DOCS] Constructive Development Process (was: re: release prioritization)
X-BeenThere: [email protected]
X-Mailman-Version: 2.1
Precedence: list
Reply-To: Discussing the Squeak Foundation
	<[email protected]>
List-Id: Discussing the Squeak Foundation
 <squeakfoundation.lists.squeakfoundation.org>
List-Unsubscribe: <http://lists.squeakfoundation.org/listinfo/squeakfoundation>,
	<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://lnx-12.ams-2.theinternetone.net/pipermail/squeakfoundation>
List-Post: <mailto:[email protected]>
List-Help: <mailto:[email protected]?subject=help>
List-Subscribe: <http://lists.squeakfoundation.org/listinfo/squeakfoundation>,
	<mailto:[email protected]?subject=subscribe>
X-List-Received-Date: Fri, 28 Feb 2003 16:57:40 -0000


Craig

Craig Latta <[email protected]> wrote:
> I think we do have a constructive process. 

You rise an important issue. I think this deserves attention.

Serge Stinckwich was suggesting on 17-Feb that we should think about the
development process. 

Serge Stinckwich <[email protected]> wrote:
> Hi all,
> 
> i just found that the Python community use something they called PEP (Python Enhancements Proposals).
> PEP are design documents describing new feature for Python. There is a workflow that deals whith how the PEPs are manage
> by the community.
> 
> Look at the PEP Purpose and Guidelines : http://www.python.org/peps/pep-0001.html
> and the index of PEP here : http://www.python.org/peps/
> 
> Maybe, we can build something like that for Squeak : Squeak Enhancements Proposals (SEP) ?
> in order to have a more rigourous development process.

Is it possible for you to do a short write-up of what you think when you
speak of a 
constructive process? Where do you see the pros and cons? How do you
think things
should change in the future?

A short write-up (bullet list) would already be  a great start. If you
come to the conclusion
that the term 'constructive process' is not well chosen you may change
it of course.

Perhaps there is already some material on this - then an update and
sending in the
pointers to the list is sufficient!

If you could work on this that would be great!

Regards
Hannes
From [email protected] Fri Feb 28 17:00:48 2003
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: (qmail 9096 invoked from network); 28 Feb 2003 17:00:48 -0000
Received: from ygm005pub.verizon.net (HELO ygm005.verizon.net) (206.46.170.31)
  by mail.theinternetone.net with SMTP; 28 Feb 2003 17:00:48 -0000
Received: from readymix ([4.60.59.186]) by ygm005.verizon.net
          (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP
          id <20030228170042.QMRQ1966.ygm005.verizon.net@readymix>;
          Fri, 28 Feb 2003 11:00:42 -0600
Received: from simon by readymix with local (Exim 3.36 #1 (Debian))
	id 18onny-0000Da-00; Fri, 28 Feb 2003 08:56:14 -0800
To: Discussing the Squeak Foundation
 <[email protected]>
References: <[email protected]>
From: Simon Michael <[email protected]>
Organization: Joyful Systems
Date: Fri, 28 Feb 2003 08:56:14 -0800
In-Reply-To: <[email protected]> (Daniel Vainsencher's
 message of "Fri, 28 Feb 2003 13:52:45 +0300")
Message-ID: <[email protected]>
Lines: 18
User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
cc: The general-purpose Squeak developers list
	<[email protected]>
Subject: [Squeakfoundation]Re: release prioritization (was "ClassBuilder
	problem")
X-BeenThere: [email protected]
X-Mailman-Version: 2.1
Precedence: list
Reply-To: Discussing the Squeak Foundation
	<[email protected]>
List-Id: Discussing the Squeak Foundation
 <squeakfoundation.lists.squeakfoundation.org>
List-Unsubscribe: <http://lists.squeakfoundation.org/listinfo/squeakfoundation>,
	<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://lnx-12.ams-2.theinternetone.net/pipermail/squeakfoundation>
List-Post: <mailto:[email protected]>
List-Help: <mailto:[email protected]?subject=help>
List-Subscribe: <http://lists.squeakfoundation.org/listinfo/squeakfoundation>,
	<mailto:[email protected]?subject=subscribe>
X-List-Received-Date: Fri, 28 Feb 2003 17:00:49 -0000

Daniel Vainsencher <[email protected]> writes:
> If we have bugs (and we have more than just those handful that were
> mentioned), the solution isn't to delay the release, it is to have SUnit
> tests, use them, and keep them green. Think longer term - it's not about
> making a perfect release - that'll always be a good excuse to delay a
> little more. It's about having many releases, at quite frequent,
> predictable intervals, that are getting better and better, and keeping
> production and development close. That'll give us long term properties
> that will keep Squeak getting better.

+1, well said.

I've found releasing on the first of every month to be a useful discipline.
What changes would be needed to make this practical for squeak, I wonder ?
Maybe none.

Thanks for your work, guides.
-Simon
From [email protected] Fri Feb 28 17:02:29 2003
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: (qmail 12450 invoked from network); 28 Feb 2003 17:02:28 -0000
Received: from out013pub.verizon.net (HELO out013.verizon.net) (206.46.170.44)
  by mail.theinternetone.net with SMTP; 28 Feb 2003 17:02:28 -0000
Received: from readymix ([4.60.59.186]) by out013.verizon.net
          (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP
          id <20030228170224.MBGF11625.out013.verizon.net@readymix>
          for <[email protected]>;
          Fri, 28 Feb 2003 11:02:24 -0600
Received: from simon by readymix with local (Exim 3.36 #1 (Debian))
	id 18onpd-0000Dh-00
	for <[email protected]>;
	Fri, 28 Feb 2003 08:57:57 -0800
To: Discussing the Squeak Foundation
 <[email protected]>
Subject: Re: [Squeakfoundation]Collecting tests?
References: <[email protected]>
From: Simon Michael <[email protected]>
Organization: Joyful Systems
Date: Fri, 28 Feb 2003 08:57:56 -0800
In-Reply-To: <[email protected]> (Marcus Denker's message of
 "Fri, 28 Feb 2003 13:08:19 +0100")
Message-ID: <[email protected]>
Lines: 1
User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-BeenThere: [email protected]
X-Mailman-Version: 2.1
Precedence: list
Reply-To: Discussing the Squeak Foundation
	<[email protected]>
List-Id: Discussing the Squeak Foundation
 <squeakfoundation.lists.squeakfoundation.org>
List-Unsubscribe: <http://lists.squeakfoundation.org/listinfo/squeakfoundation>,
	<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://lnx-12.ams-2.theinternetone.net/pipermail/squeakfoundation>
List-Post: <mailto:[email protected]>
List-Help: <mailto:[email protected]?subject=help>
List-Subscribe: <http://lists.squeakfoundation.org/listinfo/squeakfoundation>,
	<mailto:[email protected]?subject=subscribe>
X-List-Received-Date: Fri, 28 Feb 2003 17:02:29 -0000

Yes, a place to collect random tests - I think it's a good idea. 
From [email protected] Fri Feb 28 17:36:38 2003
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: (qmail 31525 invoked from network); 28 Feb 2003 17:36:37 -0000
Received: from pc2-bbrg1-3-cust173.renf.cable.ntl.com (HELO
	wendolene.mjr104.co.uk) (62.255.157.173)
	by mail.theinternetone.net with SMTP; 28 Feb 2003 17:36:37 -0000
Received: (qmail 9623 invoked by uid 500); 28 Feb 2003 17:36:36 -0000
Date: Fri, 28 Feb 2003 17:36:36 +0000
From: Mike Roberts <[email protected]>
To: Discussing the Squeak Foundation
	<[email protected]>
Subject: Re: [Squeakfoundation]Collecting tests?
Message-ID: <[email protected]>
References: <[email protected]>
	<000b01c2df48$04ec9c90$0516fea9@atlantis>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <000b01c2df48$04ec9c90$0516fea9@atlantis>;
	from [email protected] on Fri, Feb 28, 2003 at 05:39:52PM +0100
X-BeenThere: [email protected]
X-Mailman-Version: 2.1
Precedence: list
Reply-To: Discussing the Squeak Foundation
	<[email protected]>
List-Id: Discussing the Squeak Foundation
 <squeakfoundation.lists.squeakfoundation.org>
List-Unsubscribe: <http://lists.squeakfoundation.org/listinfo/squeakfoundation>,
	<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://lnx-12.ams-2.theinternetone.net/pipermail/squeakfoundation>
List-Post: <mailto:[email protected]>
List-Help: <mailto:[email protected]?subject=help>
List-Subscribe: <http://lists.squeakfoundation.org/listinfo/squeakfoundation>,
	<mailto:[email protected]?subject=subscribe>
X-List-Received-Date: Fri, 28 Feb 2003 17:36:39 -0000

On Fri, Feb 28, 2003 at 05:39:52PM +0100, Andreas Raab wrote:
> Add a place to Squeak where it's _really_ easy to write a single
> test without having to make a class first
> 

I like your thoughts.  How about a 'Test Pit' which is similar to a Workspace but allows you to write simple assertions about what you are testing.  I can imagine how it would work but don't know how to implement it... (except in Python).  Could you bind a subset of the methods of TestCase into the scope of the workspace so you could just write quick statements and then hit a button to do-it all and give you a quick result.  Or maybe you could have a global QuickTest bound in the workspace which provided assert: deny: etc.  Then you could possibly hit a button to generate a proper class for you after asking you for the name.  If the text in the workspace only used the protocol of TestCase then it could just become the body of a test - you could neaten it up/ improve with the browser(s) later.

The only thing I'm not quite sure about is getting the objects in that you want to test if they already exist somewhere.  Maybe you could enable morph-workspace dropping, although I haven't played with that yet so I'm not exactly sure how that works.

Does this sound like what you had in mind?

If this was in the Tools flap then you could grab it out, write a test and then there could be suitable buttons for 'mail to list' etc.  

Mike 
From [email protected] Fri Feb 28 21:06:07 2003
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: (qmail 19660 invoked from network); 28 Feb 2003 21:06:07 -0000
Received: from unknown (HELO plato.hosting-dns.net) (64.247.50.2)
  by mail.theinternetone.net with SMTP; 28 Feb 2003 21:06:07 -0000
Received: from 12-234-228-203.client.attbi.com ([12.234.228.203]
	helo=netjam.org)
	by plato.hosting-dns.net with asmtp (SSLv3:RC4-MD5:128)
	(Exim 3.36 #1)	id 18orfn-0001ea-00; Fri, 28 Feb 2003 16:04:03 -0500
Message-ID: <[email protected]>
Date: Fri, 28 Feb 2003 13:05:51 -0800
From: Craig Latta <[email protected]>
Organization: the NetJam project
X-Mailer: Mozilla 4.78 [en]C-CCK-MCD {Sony}  (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Hannes Hirzel <[email protected]>
References: <[email protected]> (added by
		[email protected])
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-AntiAbuse: This header was added to track abuse, please include it with any
	abuse report
X-AntiAbuse: Primary Hostname - plato.hosting-dns.net
X-AntiAbuse: Original Domain - lists.squeakfoundation.org
X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [0 0]
X-AntiAbuse: Sender Address Domain - netjam.org
cc: Discussing the Squeak Foundation
	<[email protected]>
cc: The general-purpose Squeak developers list
	<[email protected]>
Subject: [Squeakfoundation]re: release prioritization
X-BeenThere: [email protected]
X-Mailman-Version: 2.1
Precedence: list
Reply-To: Discussing the Squeak Foundation
	<[email protected]>
List-Id: Discussing the Squeak Foundation
 <squeakfoundation.lists.squeakfoundation.org>
List-Unsubscribe: <http://lists.squeakfoundation.org/listinfo/squeakfoundation>,
	<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://lnx-12.ams-2.theinternetone.net/pipermail/squeakfoundation>
List-Post: <mailto:[email protected]>
List-Help: <mailto:[email protected]?subject=help>
List-Subscribe: <http://lists.squeakfoundation.org/listinfo/squeakfoundation>,
	<mailto:[email protected]?subject=subscribe>
X-List-Received-Date: Fri, 28 Feb 2003 21:06:07 -0000


Hi Hannes--

> > > Not having a proper test culture in Squeak leads us to have this
> > > kind of funny discussions.
> >
> >       Perhaps you could elaborate as to what you consider a proper
> > test culture.
> 
> An example of an emerging test culture
> 
> > "Brent Vukmer" <[email protected]> wrote:
> > I installed the MetaClassBuilderFix SAR in a 3.4gamma image,
> > installed the ClassBuilder test suite,
> > and then ran the ClassBuilder test suite
> > -- 3 out of 3 tests passed.

	Indeed, but to what extent should particular tests delay a particular
release? I think that's the main issue here.


	thanks,

-C

--
Craig Latta
improvisational musical informaticist
[email protected]
www.netjam.org/resume
Smalltalkers do: [:it | All with: Class, (And love: it)]
From [email protected] Fri Feb 28 21:28:19 2003
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: (qmail 16195 invoked from network); 28 Feb 2003 21:28:19 -0000
Received: from 1.2.0.10.in-addr.arpa (HELO cdegroot.com) (10.0.2.1)
  by mail.theinternetone.net with SMTP; 28 Feb 2003 21:28:19 -0000
Received: (qmail 32756 invoked from network); 28 Feb 2003 21:28:18 -0000
Received: from unknown (HELO localhost) (127.0.0.1)
  by localhost with SMTP; 28 Feb 2003 21:28:18 -0000
From: Cees de Groot <[email protected]>
To: The general-purpose Squeak developers list
	<[email protected]>
In-Reply-To: <[email protected]>
References: <[email protected]>
	 <[email protected]>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="=-gQ2Aeh99/FE35niC3k96"
Organization: 
Message-Id: <[email protected]>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.2.2 
Date: 28 Feb 2003 22:28:18 +0100
cc: Discussing the Squeak Foundation
	<[email protected]>
Subject: [Squeakfoundation]Re: release prioritization (was "ClassBuilder
	problem")
X-BeenThere: [email protected]
X-Mailman-Version: 2.1
Precedence: list
Reply-To: Discussing the Squeak Foundation
	<[email protected]>
List-Id: Discussing the Squeak Foundation
 <squeakfoundation.lists.squeakfoundation.org>
List-Unsubscribe: <http://lists.squeakfoundation.org/listinfo/squeakfoundation>,
	<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://lnx-12.ams-2.theinternetone.net/pipermail/squeakfoundation>
List-Post: <mailto:[email protected]>
List-Help: <mailto:[email protected]?subject=help>
List-Subscribe: <http://lists.squeakfoundation.org/listinfo/squeakfoundation>,
	<mailto:[email protected]?subject=subscribe>
X-List-Received-Date: Fri, 28 Feb 2003 21:28:19 -0000


--=-gQ2Aeh99/FE35niC3k96
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Fri, 2003-02-28 at 17:56, Simon Michael wrote:
> +1, well said.
> 
seconded.

> I've found releasing on the first of every month to be a useful discipline.
> What changes would be needed to make this practical for squeak, I wonder ?
> Maybe none.
> 
Yup - we've taken to release an RC every Thursday at 13:30, and when no
showstoppers have been found by Friday 18:00, it is moved into
production. I think a similar time regime could put the necessary
pressure on the cooker to help here in cleaning up procedure (it surely
helped with us!).

Probably a quarterly regime would work fine. Announce a gamma release
one month before the end of the cycle (and fork there so development
continues), and make abundantly sure that whatever happens, it is going
to be the production version one month later. This shifts quite a bit of
the responsibility for testing back to where it belongs: the users
a.k.a. the Squeak community. 



--=-gQ2Aeh99/FE35niC3k96
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQA+X9Rx8wOTf+CYnosRAsdhAJ461GNUzVfMRolUk10lfHMlaJMpuwCgs/fj
/EZIzQr3nBM4BDD4ZtIFQjAêix
-----END PGP SIGNATURE-----

--=-gQ2Aeh99/FE35niC3k96--
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.