heavy-duty example of extensive use of C# extension methods. One of
methods against certain types/edge cases.. i like using mspec's
tested".. but that's just my opinion... Msb also does some black magic
> sorry for self-promoting in here, but i wrote a "specter-like" boo dsl
> to wrap Machine.Specifications and i've been using it extensively for
> some personal projects.
> the source is at:
> http://github.com/olsonjeffery/machine.specifications.boo/tree/master
> it's still a bit rough around the edges for some things (inheritance
> is implemented, for example, but inheriting from another dsl-generated
> class is still kinda weird... also, no indentifier names for an actual
> spec.. still just string names)
> you can look at the specs in the Machine.Specifications.Boo.Specs
> project to get an example of what the code looks like. I worked on a
> README some time back but never got around to adding it to the
> project.
> Cheers,
> Jeff
> 2009/6/25 Nathan Stott <nrst...@gmail.com>:
>> Specter is not maintained. I tried to use it about a year ago and had to
>> fix errors in the source. I got it working but decided I didn't want to
>> have to maintain my testing framework. I worry that would inevitably lead
>> to me abandoning those tests.
>> On Thu, Jun 25, 2009 at 8:36 AM, Justin Chase <justin.m.ch...@gmail.com>
>> wrote:
>>> A while back I had a similar issue with specter, I had to download the
>>> source and fix it and rebuild it to get it to work. I'll try to find that
>>> code and let you know what I had to do to get it to work.
>>> 2009/6/25 hans <hyh...@gmail.com>
>>>> Hi all.
>>>> When using Specter with SharpDevelop (3.0.0.3800) to experience the
>>>> BDD framework, I get the following error when compiling:
>>>> Macro expansion error: 'Internal compiler error: cannot find
>>>> method:"Boo.Lang.List Boo.Lang.List.Add(System.Object)"。.'. (BCE0045)
>>>> - D:\examples\BooLang-Presentation\SpecterIsUsed\Program.boo:6
>>>> According to the compile error, I find that the "context" macro causes
>>>> this error.
>>>> My Specter example is as follow:
>>>> // Begin Code
>>>> namespace SpecterIsUsed
>>>> import System
>>>> import Specter.Framework
>>>> context "Bar":
>>>> specify 42.Must.Be < 420
>>>> specify "hello":
>>>> # no body means this will be ignored by NUnit
>>>> pass
>>>> print "everything is cool."
>>>> // End
>>>> Any ideas?
>>>> Thanks.
>>> --
>>> Justin Chase
>>> http://www.justnbusiness.com