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
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: beginners-bounces@lists.squeakfoundation.org [mailto:beginners- bounces@lists.squeakfoundation.org] On Behalf Of Raoul Zimmermann Sent: Tuesday, July 10, 2007 8:25 AM To: beginners@lists.squeakfoundation.org 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 Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners
On Tue, 10 Jul 2007 05:24:39 -0700, Raoul Zimmermann Raoul.Zimmermann@gmx.net 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.
Thank you to everyone. I indeed missed that it is required to call "BlankCellTestCase" a TestCase Object! *blush* Raoul
beginners@lists.squeakfoundation.org