[Rspec-devel] Porting rSpec to C++

Dean Mao deanmao at gmail.com
Fri Jun 2 22:50:00 EDT 2006


I think it would be cool to see BDD being applied to other languages.
Personally, I really enjoy rSpec for their great combination of mocks &
clean dsl.

On 6/2/06, Evgeny <evgeny.zislis at gmail.com> wrote:
>
> Greetings All,
>
> The projects my team are working on is written in C++ and since I have
> been using rSpec with great success on my ruby projects I want to present
> this new concept to my team mates in a fashion that can contribute to their
> efforts.
>
> But unfortunately I am not much of a c++ programmer, and it is taking me
> quite a lot of time to come up with something that resembles rSpec.
>
> So far, after several weeks of learning yacc/lex and bison/flex I
> understand that these tools are not the best tools for the job -- because
> their lack of c++ support (c works, c++ not). And since I discovered the
> Boost.Spirit parser -- I came up with some drafts that looks more or less
> like what I see c++Spec should look like.
>
> Attached to this mail is a sample spec file, and a sample c++ result file
> from that spec.
>
> 1. I would want to use Boost.Spirit to parse the spec file and create the
> c++ result.
> 2. I would want to compile this result file as a library (static or
> dynamic)
> 3. I would want to run a Runner that will use the dynamic library and my
> own code and do the spec checks.
> 4. I would want to link my own code with the static library into a static
> runner and run it to see if it passes the checks.
>
> Is there anyone interested in this?
>
> Can someone help out?
>
> I am willing to contribute some resources to this matter, like
> space/services(svn) on my dreamhost or something ... if needed.
>
>
> Regards,
>
> Evgeny
>
>
> PS: Thanks to Steve and Dave and all the other people who came up with and
> created rSpec and are making my programming experience in ruby much more
> productive than it used to be.
>
> _______________________________________________
> Rspec-devel mailing list
> Rspec-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-devel
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-devel/attachments/20060602/82ff6e3e/attachment.htm 


More information about the Rspec-devel mailing list