Testing across different Images

Shane Hayes sphayes at ibm.net
Fri Jul 23 04:30:09 UTC 1999


Has anyone ported Kent's framework to Squeak?

Shane Hayes

> -----Original Message-----
> From: Jeffrey Odell [mailto:jeffo at esprithealth.com]
> Sent: Thursday, July 22, 1999 8:06 AM
> To: squeak at cs.uiuc.edu
> Subject: RE: Testing across different Images
>
>
> Thoughts...
>
> I have used Kent's framework on several occasions in the VA
> environment.  I
> works pretty well.  The only cross platform issues would be any
> integration
> imposed by dependencies on OS resources.  You'd need to integrate
> by making
> sure that external resources, libraries, etc. are up on all
> machines and any
> external requirements are present to complete the test.
>
> For example, if you are testing persistence to a relational
> database, you at
> least need the database connections, logins, etc. in place on every
> platform, as well as perhaps some test tables.
>
> Another issue is that class extensions are very helpful in this case.  For
> example, often you don't want to expose private state.  However,
> to test the
> object from the test suite you might want to examine it.  If you
> can extend
> the class or classes with "test only" methods on the target
> classes, you can
> package them nicely in with the test suite.  When the test suite is not
> loaded, those test methods aren't loaded.
>
> I'm "team tool" oriented from several years of VSE-Team/V and
> VA-Envy.  I am
> not sure this is a problem using Squeak and various forms of file-ins or
> change sets.
>
> The squeak image update from the server is so cool.  The idea of
> sending off
> a test suite, running it, and getting the results back from a remote image
> is just as enticing.
>
> Jeff Odell
>
> -----Original Message-----
> From: Peter Smet [mailto:peter.smet at flinders.edu.au]
> Sent: Tuesday, July 20, 1999 4:19 AM
> To: squeak at cs.uiuc.edu
> Subject: Testing across different Images
>
>
> Some more random thoughts....
>
> One of the issues that often comes up in this group is that of different
> platforms.
> 'It works on a Mac, but I don't know if it will be OK on Linux' etc. Since
> it is possible to pass objects from one Image to another remote
> Image, I was
> speculating that Kent's testing framework could be extended to 'push' test
> classes and cases onto remote images, execute them, and get back the
> results. That way, you could run your test suite across the internet, on
> several different architectures simultaneously. It would depend on some
> publicly available 'sandbox' images for testing purposes, each on a
> different platform. My impression is that the testing framework sets up
> fairly independent cases, so that dependencies between classes in the
> original image and test image would be minimal.
>
> Ideas?
>
> Peter...
>
>
>
>





More information about the Squeak-dev mailing list