Hi, I know this is slightly off topic, but I''m having trouble finding something, and wondered if anyone here had experience with any BDD frameworks for C#. I found NBehave (http://www.codeplex.com/NBehave), but it seems a little out of date (last release says 2007 I think). I also found this post (http://www.lostechies.com/blogs/joe_ocampo/archive/2008/02/26/updates-to-nb ehave.aspx) which has a different syntax, but can''t find what has happened to it since that post. Also, I really hate that the methods use underscores, though I don''t know if that''s their convention, or a requirement. Does anyone else here use C#? What do you use for testing / specs? Thanks, Brandon www.perpetualseeker.com Blog about college, programming, and other random things. Follow me on Twitter: http://twitter.com/devbanana
Brandon Olivares wrote:> Hi, > > I know this is slightly off topic, but I''m having trouble finding something, > and wondered if anyone here had experience with any BDD frameworks for C#. > > I found NBehave (http://www.codeplex.com/NBehave), but it seems a little out > of date (last release says 2007 I think). I also found this post > (http://www.lostechies.com/blogs/joe_ocampo/archive/2008/02/26/updates-to-nb > ehave.aspx) which has a different syntax, but can''t find what has happened > to it since that post. Also, I really hate that the methods use underscores, > though I don''t know if that''s their convention, or a requirement. > > Does anyone else here use C#? What do you use for testing / specs? > > Thanks, > Brandon > > >I haven''t used C# for years, so I don''t have any experience with BDD frameworks in it but you might want to check out MSpec: http://github.com/machine/machine.specifications/tree/master http://codebetter.com/blogs/aaron.jensen/archive/2008/05/08/introducing-machine-specifications-or-mspec-for-short.aspx You may also want to post your question to the BDD google group: http://groups.google.com/group/behaviordrivendevelopment?hl=en HTH, Ben
> -----Original Message----- > From: rspec-users-bounces at rubyforge.org [mailto:rspec-users- > bounces at rubyforge.org] On Behalf Of Ben Mabey > Sent: Saturday, April 25, 2009 2:12 AM > To: rspec-users > Subject: Re: [rspec-users] BDD for C#? > > Brandon Olivares wrote: > > Hi, > > > > I know this is slightly off topic, but I''m having trouble finding > something, > > and wondered if anyone here had experience with any BDD frameworks > for C#. > > > > I found NBehave (http://www.codeplex.com/NBehave), but it seems a > little out > > of date (last release says 2007 I think). I also found this post > > > (http://www.lostechies.com/blogs/joe_ocampo/archive/2008/02/26/updates- > to-nb > > ehave.aspx) which has a different syntax, but can''t find what has > happened > > to it since that post. Also, I really hate that the methods use > underscores, > > though I don''t know if that''s their convention, or a requirement. > > > > Does anyone else here use C#? What do you use for testing / specs? > > > > Thanks, > > Brandon > > > > > > > I haven''t used C# for years, so I don''t have any experience with BDD > frameworks in it but you might want to check out MSpec: > > http://github.com/machine/machine.specifications/tree/master > > http://codebetter.com/blogs/aaron.jensen/archive/2008/05/08/introducing > -machine-specifications-or-mspec-for-short.aspx > > You may also want to post your question to the BDD google group: > > http://groups.google.com/group/behaviordrivendevelopment?hl=en > > HTH, > BenThanks a lot for the links. I didn''t realize there was a BDD group, which is why I posted here, but I will check that out, too.> _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-userswww.perpetualseeker.com Blog about college, programming, and other random things. Follow me on Twitter: http://twitter.com/devbanana
Brandon Olivares wrote:> I know this is slightly off topic, but I''m having trouble finding > something, > and wondered if anyone here had experience with any BDD frameworks > for C#.Why not replicate Cucumber in C#? Not port or link, replicate. It''s only like ~10 features, right? I don''t know C#, but I could do it in C++ in a couple days. -- Phlip http://flea.sourceforge.net/resume.html
> -----Original Message----- > From: rspec-users-bounces at rubyforge.org [mailto:rspec-users- > bounces at rubyforge.org] On Behalf Of Phlip > Sent: Sunday, April 26, 2009 1:06 AM > To: rspec-users at rubyforge.org > Subject: Re: [rspec-users] BDD for C#? > > Brandon Olivares wrote: > > > I know this is slightly off topic, but I''m having trouble finding > > something, > > and wondered if anyone here had experience with any BDD frameworks > > for C#. > > Why not replicate Cucumber in C#? > > Not port or link, replicate. It''s only like ~10 features, right? I > don''t know > C#, but I could do it in C++ in a couple days. >I''m not sure I''d be interested in that. I mean I''m creating a GUI application, so I''m not really sure how Cucumber could work with that. Well to be more specific, I''m creating a game for blind people, so it''s purely sound output and keyboard control. But either way I don''t see how Cucumber could work with it. More interested in RSpec for testing the logic. Though I am curious if you know of some way I could use Cucumber as well. Right now looking at either nBehave or SpecUnit.NET. I will miss the nested contexts of RSpec though. Brandon> -- > Phlip > http://flea.sourceforge.net/resume.html > > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-userswww.perpetualseeker.com Blog about college, programming, and other random things. Follow me on Twitter: http://twitter.com/devbanana
> -----Original Message----- > From: rspec-users-bounces at rubyforge.org [mailto:rspec-users- > bounces at rubyforge.org] On Behalf Of aslak hellesoy > Sent: Sunday, April 26, 2009 6:32 AM > To: rspec-users > Subject: Re: [rspec-users] BDD for C#? > > > > Cucumber has been working with .NET for a while: > http://wiki.github.com/aslakhellesoy/cucumber/ironruby-and-net > > IronRuby was really slow last time I tried (4-5 months ago), so unless > it has improved its speed it will be too slow for practical use. On the > other hand, if IronRuby matures, Cucumber should work well with .NET. > It already does for Java (using JRuby). > > I recently added pure java support to Cucumber, meaning steps can be > written in Java instead of Ruby. > http://github.com/aslakhellesoy/cucumber_java/tree/master > > This obviously makes it easier to use for Java programmers. It should > be fairly easy to implement similar pure C# support. But a quicker > IronRuby is still needed. >Thanks, that does look interesting. Does RSpec work along with it though, or are the step definitions written in C#? I might try it, if I can find a way to do acceptance tests for this application. It might not be as hard as I thought. Brandon> Aslak > > > > Not port or link, replicate. It''s only like ~10 features, right? > I don''t know C#, but I could do it in C++ in a couple days. > > -- > Phlip > http://flea.sourceforge.net/resume.html > > > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users > >www.perpetualseeker.com Blog about college, programming, and other random things. Follow me on Twitter: http://twitter.com/devbanana
for Acceptance testing, would you like to checkout Ben''s article at - http://msdn.microsoft.com/en-us/magazine/dd453038.aspx -Jirapong On Apr 27, 2009, at 10:45 AM, Brandon Olivares wrote:> > >> -----Original Message----- >> From: rspec-users-bounces at rubyforge.org [mailto:rspec-users- >> bounces at rubyforge.org] On Behalf Of aslak hellesoy >> Sent: Sunday, April 26, 2009 6:32 AM >> To: rspec-users >> Subject: Re: [rspec-users] BDD for C#? >> >> >> >> Cucumber has been working with .NET for a while: >> http://wiki.github.com/aslakhellesoy/cucumber/ironruby-and-net >> >> IronRuby was really slow last time I tried (4-5 months ago), so >> unless >> it has improved its speed it will be too slow for practical use. On >> the >> other hand, if IronRuby matures, Cucumber should work well with .NET. >> It already does for Java (using JRuby). >> >> I recently added pure java support to Cucumber, meaning steps can be >> written in Java instead of Ruby. >> http://github.com/aslakhellesoy/cucumber_java/tree/master >> >> This obviously makes it easier to use for Java programmers. It should >> be fairly easy to implement similar pure C# support. But a quicker >> IronRuby is still needed. >> > > Thanks, that does look interesting. Does RSpec work along with it > though, or > are the step definitions written in C#? > > I might try it, if I can find a way to do acceptance tests for this > application. It might not be as hard as I thought. > > Brandon > >> Aslak >> >> >> >> Not port or link, replicate. It''s only like ~10 features, right? >> I don''t know C#, but I could do it in C++ in a couple days. >> >> -- >> Phlip >> http://flea.sourceforge.net/resume.html >> >> >> _______________________________________________ >> rspec-users mailing list >> rspec-users at rubyforge.org >> http://rubyforge.org/mailman/listinfo/rspec-users >> >> > > www.perpetualseeker.com > Blog about college, programming, and other random things. > Follow me on Twitter: http://twitter.com/devbanana > > > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users
> -----Original Message----- > From: rspec-users-bounces at rubyforge.org [mailto:rspec-users- > bounces at rubyforge.org] On Behalf Of aslak hellesoy > Sent: Monday, April 27, 2009 11:51 AM > To: rspec-users > Subject: Re: [rspec-users] BDD for C#? > > > > I think you mean: "Does IronRuby work along with RSpec". The answer is > *maybe*. IronRuby doesn''t work with most things yet. >For now, the answer appears to be no, unfortunately. I''ll have to come back to it in a few months when it''s hopefully more stable. NBehave looks really nice, but unfortunately there is really no documentation for it at all, except for a few examples of usage. I think it''s either that or NUnit with naming conventions, but I really like the scenario support in NBehave. Brandon> Step definitions would have to be written in Ruby until I implement > something similar to cucumber_java (cucumber_dotnet), which would let > you write step definitions in any .NET language that supports an > annotation mechanism. > > Aslak > > > > > I might try it, if I can find a way to do acceptance tests for > this > application. It might not be as hard as I thought. > > Brandon > > > > Aslak > > > > > > > > Not port or link, replicate. It''s only like ~10 features, > right? > > I don''t know C#, but I could do it in C++ in a couple days. > > > > -- > > Phlip > > http://flea.sourceforge.net/resume.html > > > > > > _______________________________________________ > > rspec-users mailing list > > rspec-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/rspec-users > > > > > > > www.perpetualseeker.com > Blog about college, programming, and other random things. > Follow me on Twitter: http://twitter.com/devbanana > > > _______________________________________________ > > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users > >www.perpetualseeker.com Blog about college, programming, and other random things. Follow me on Twitter: http://twitter.com/devbanana
> -----Original Message----- > From: rspec-users-bounces at rubyforge.org [mailto:rspec-users- > bounces at rubyforge.org] On Behalf Of Dan North > Sent: Monday, April 27, 2009 10:00 PM > To: rspec-users > Subject: Re: [rspec-users] BDD for C#? > > Hi Brandon. > > I already replied on the BDD list but can I suggest you give the > nbehave guys a poke, or even get involved in helping them out? > > If they started getting some releases out it would really help build > some momentum around it. > > Cheers, > Dan >Yeah, I think I will. It looks like the best right now, anyway. I''m not sure I could help much, though I could perhaps help with documentation if anything, but I will contact them. Thanks, Brandon> > 2009/4/28 Brandon Olivares <programmer2188 at gmail.com> > > > > > > > -----Original Message----- > > From: rspec-users-bounces at rubyforge.org [mailto:rspec-users- > > bounces at rubyforge.org] On Behalf Of aslak hellesoy > > > Sent: Monday, April 27, 2009 11:51 AM > > To: rspec-users > > Subject: Re: [rspec-users] BDD for C#? > > > > > > > > > I think you mean: "Does IronRuby work along with RSpec". The > answer is > > *maybe*. IronRuby doesn''t work with most things yet. > > > > > For now, the answer appears to be no, unfortunately. I''ll have to > come back > to it in a few months when it''s hopefully more stable. > > NBehave looks really nice, but unfortunately there is really no > documentation for it at all, except for a few examples of usage. > I think > it''s either that or NUnit with naming conventions, but I really > like the > scenario support in NBehave. > > Brandon > > > > Step definitions would have to be written in Ruby until I > implement > > something similar to cucumber_java (cucumber_dotnet), which > would let > > you write step definitions in any .NET language that supports > an > > annotation mechanism. > > > > Aslak > > > > > > > > > > I might try it, if I can find a way to do acceptance > tests for > > this > > application. It might not be as hard as I thought. > > > > Brandon > > > > > > > Aslak > > > > > > > > > > > > Not port or link, replicate. It''s only like ~10 > features, > > right? > > > I don''t know C#, but I could do it in C++ in a couple > days. > > > > > > -- > > > Phlip > > > http://flea.sourceforge.net/resume.html > > > > > > > > > _______________________________________________ > > > rspec-users mailing list > > > rspec-users at rubyforge.org > > > http://rubyforge.org/mailman/listinfo/rspec-users > > > > > > > > > > > > www.perpetualseeker.com > > Blog about college, programming, and other random things. > > Follow me on Twitter: http://twitter.com/devbanana > > > > > > _______________________________________________ > > > > rspec-users mailing list > > rspec-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/rspec-users > > > > > > www.perpetualseeker.com > Blog about college, programming, and other random things. > Follow me on Twitter: http://twitter.com/devbanana > > > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users > >www.perpetualseeker.com Blog about college, programming, and other random things. Follow me on Twitter: http://twitter.com/devbanana