All entries for Tuesday 18 April 2006
April 18, 2006
Yup, that's right! The "context" macro is creating a new class. The setup and specify macros create methods. Basically what this means is soon we'll be able to write object behaviour specifications without all that nasty non-spec syntax getting in the way.
data as string
data = "hello"
e = TestContext()
I must say a huge thank you to the guys over on the BooLang group. Without their advice and examples I'd never have gotten here!
context "Empty Stack"
specify "Count is zero":