Squeak Tutorial

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Squeak Tutorial

Raoul Zimmermann
Hello everyone,
I'm new to Squeak and mailing lists in general. I will be going to Impara for a short internship and am trying to get an overview of Squeak. I'm using the Squeak-Tutorial at http://squeak.preeminent.org/tut2007/html/index.html.
However, in Section I, part 9, I'm required to use the testCellOnState method I created. I'm to open the Test Runner and the category "Laser-Game-Tests" is supposed to appear. The problem is that it doesn't. I double-checked all previous steps and they're okay, but it still doesn't work.
Can anyone help me please? :)
Greetings,
Raoul Zimmermann
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

RE: Squeak Tutorial

Ron Teitelbaum
Hi Raoul,

Welcome to the list, I hope you have a terrific experience at Impara.

SUnit requires that your class be a subclass of TestCase.  If you look at
your testing object make sure that it is:

TestCase subclass: #MyTestClass  

And not

Object subclass: #MyTestClass

If this is not the problem please let us know,

Ron Teitelbaum
President / Principal Software Engineer
US Medical Record Specialists
www.USMedRec.com

> -----Original Message-----
> From: [hidden email] [mailto:beginners-
> [hidden email]] On Behalf Of Raoul Zimmermann
> Sent: Tuesday, July 10, 2007 8:25 AM
> To: [hidden email]
> Subject: [Newbies] Squeak Tutorial
>
> Hello everyone,
> I'm new to Squeak and mailing lists in general. I will be going to Impara
> for a short internship and am trying to get an overview of Squeak. I'm
> using the Squeak-Tutorial at
> http://squeak.preeminent.org/tut2007/html/index.html.
> However, in Section I, part 9, I'm required to use the testCellOnState
> method I created. I'm to open the Test Runner and the category "Laser-
> Game-Tests" is supposed to appear. The problem is that it doesn't. I
> double-checked all previous steps and they're okay, but it still doesn't
> work.
> Can anyone help me please? :)
> Greetings,
> Raoul Zimmermann
> --
> Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
> Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
> _______________________________________________
> Beginners mailing list
> [hidden email]
> http://lists.squeakfoundation.org/mailman/listinfo/beginners

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Squeak Tutorial

Blake-5
In reply to this post by Raoul Zimmermann
On Tue, 10 Jul 2007 05:24:39 -0700, Raoul Zimmermann  
<[hidden email]> wrote:

> Hello everyone,
> I'm new to Squeak and mailing lists in general. I will be going to  
> Impara for a short internship and am trying to get an overview of  
> Squeak. I'm using the Squeak-Tutorial at  
> http://squeak.preeminent.org/tut2007/html/index.html.
> However, in Section I, part 9, I'm required to use the testCellOnState  
> method I created. I'm to open the Test Runner and the category  
> "Laser-Game-Tests" is supposed to appear. The problem is that it  
> doesn't. I double-checked all previous steps and they'
> re okay, but it still doesn't work.
> Can anyone help me please? :)
> Greetings,
> Raoul Zimmermann

In addition to what Ron said, you do have to =create= the Laser-Game-Tests  
category in the class browser, and it has to have your TestCase descendent  
in it, before it will appear in the test runner.
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Squeak Tutorial

Raoul Zimmermann
Thank you to everyone. I indeed missed that it is required to call "BlankCellTestCase" a TestCase Object! *blush*
Raoul

--
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kanns mit allen: http://www.gmx.net/de/go/multimessenger
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners