Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Specter
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  8 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
hans  
View profile   Translate to Translated (View Original)
 More options Jun 25, 3:38 am
From: hans <hyh...@gmail.com>
Date: Thu, 25 Jun 2009 00:38:42 -0700 (PDT)
Local: Thurs, Jun 25 2009 3:38 am
Subject: Specter
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.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Justin Chase  
View profile  
 More options Jun 25, 9:36 am
From: Justin Chase <justin.m.ch...@gmail.com>
Date: Thu, 25 Jun 2009 08:36:25 -0500
Local: Thurs, Jun 25 2009 9:36 am
Subject: Re: Specter

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>

--
Justin Chase
http://www.justnbusiness.com

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nathan Stott  
View profile   Translate to Translated (View Original)
 More options Jun 25, 9:45 am
From: Nathan Stott <nrst...@gmail.com>
Date: Thu, 25 Jun 2009 08:45:13 -0500
Local: Thurs, Jun 25 2009 9:45 am
Subject: Re: Specter

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:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jeffery Olson  
View profile   Translate to Translated (View Original)
 More options Jun 25, 9:51 am
From: Jeffery Olson <olson.jeff...@gmail.com>
Date: Thu, 25 Jun 2009 06:51:44 -0700
Local: Thurs, Jun 25 2009 9:51 am
Subject: Re: Specter
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>:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jeffery Olson  
View profile   Translate to Translated (View Original)
 More options Jun 25, 9:56 am
From: Jeffery Olson <olson.jeff...@gmail.com>
Date: Thu, 25 Jun 2009 06:56:08 -0700
Local: Thurs, Jun 25 2009 9:56 am
Subject: Re: Specter
also, this DSL (Machine.Specifications.Boo aka Msb) is a pretty
heavy-duty example of extensive use of C# extension methods. One of
the reasons i chose to write a wrapper instead of use specter and it's
extensions is that specter still has some "issues" with its extensive
methods against certain types/edge cases.. i like using mspec's
extension method library because i think its a bit more "battle
tested".. but that's just my opinion... Msb also does some black magic
at expansion time to avoid the (what i feel it) ackward "import
foo.extension.class from bar.assembly" to get c# extension method
support.

anywho, just puttin' it out there for anyone who cares to check it out
(in the context of this thread it may or may not be interesting, i
guess..)

Jeff

2009/6/25 Jeffery Olson <olson.jeff...@gmail.com>:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Cedric Vivier  
View profile  
 More options Jun 25, 11:26 am
From: Cedric Vivier <cedr...@neonux.com>
Date: Thu, 25 Jun 2009 23:26:32 +0800
Local: Thurs, Jun 25 2009 11:26 am
Subject: Re: Specter

2009/6/25 Jeffery Olson <olson.jeff...@gmail.com>

> 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

Looks really nice :-)
Then I guess people looking for a *spec framework for Boo/CLI should look at
it (not self-promotion here ;) )

As Nathan said Specter is not maintained as I don't have time (nor interest)
to work on it any more.
If there is people interested in taking over the project for maintainance or
more feel free to email me.

Cheers,


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jeffery Olson  
View profile  
 More options Jun 25, 12:03 pm
From: Jeffery Olson <olson.jeff...@gmail.com>
Date: Thu, 25 Jun 2009 09:03:00 -0700
Subject: Re: Specter
Thanks for the kind words, Cedric.

As a quick follow-up, I decided to go ahead and add the README I had
previously created to the source repo, so if you go to
http://github.com/olsonjeffery/machine.specifications.boo/tree/master
, the README is displayed there. It gives a basic introduction to Msb.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
hans  
View profile  
 More options Jun 25, 8:11 pm
From: hans <hyh...@gmail.com>
Date: Thu, 25 Jun 2009 17:11:51 -0700 (PDT)
Local: Thurs, Jun 25 2009 8:11 pm
Subject: Re: Specter
Thanks a lot.

On 6月25日, 下午9时36分, Justin Chase <justin.m.ch...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google