[Seaside] Re: sspec questions
itsme213 at hotmail.com
Fri Nov 2 07:17:39 UTC 2007
Ah, I was looking for very similar RSpec-like facilities, but think some of
them are not really needed (or are just not there). Would the following be
correct for a simplified first-start at using SSpec (<..?..> is not clear to
- define any (indirect) subclass of TestCase
- define a testXYZ method (or write class-side #suite methods)
- use sSpec protocols #should, Mock, #shouldReceive, etc.
- run as usual in TestRunner
- run in Refactoring or other Browser by <..?..>
- subclass SpecContext
"itsme213" <itsme213 at hotmail.com> wrote in message
news:ffu9hb$us8$1 at ger.gmane.org...
> I'm poking around with SSpec and can't figure out how to get started with
> writing my first spec in Squeak. Basic stuff like
> - to make a dest case subclass XYZTestCase ...,
> - test a method category by ...
> - run your tests with a TextRunner by ... or in the Refactoring Browser
> by ...
> I have the current SSPec loaded (from Monticello), have SUnit-Improved
> etc. Astel's pdfs have not helped much. Any pointers?
> I have done some simple SUnit-based testing before.
> "Keith Hodges" <keith_hodges at yahoo.co.uk> wrote in message
> news:471EAD4E.1010006 at yahoo.co.uk...
>>> As far as graphical runners is concerned.... I spent a lot of time
>>> changing SUnit so that it might be compatible with SSpec, so that you
>>> can specify tests/specs based upon method category as sspec does.
>> I should mention that these changes are part of the SUnit-improved
>> package available from in the "development" package universe.
More information about the seaside