NBehave 0.4.5

Rating:        Based on 3 ratings
Reviewed:  3 reviews
Downloads: 1509
Released: Nov 25, 2009
Updated: Nov 25, 2009 by Lazydev
Dev status: Beta Help Icon

Recommended Download

Application NBehave_0.4.5.183.exe
application, 1309K, uploaded Nov 25, 2009 - 1019 downloads

Other Available Downloads

Application NBehave_0.4.5.183.zip
application, 1267K, uploaded Nov 25, 2009 - 490 downloads

Release Notes

Spec framework

  • Aligned extensionmethods between the different test frameworks.
  • Added SpecificationAttribute to decorate methods with
  • Using NUnit 2.5.2
  • Using XUnit 1.5
  • Using MbUnit 3.1.3.313
  • Fixed bug with extension method ShouldContain when parameter is string. I didnt know strings implemented IEnumerable!

Narrative framework (text and fluent interface)

  • Fluent interface marked as obsolete
  • Story and narrative support in scenario files
  • Lists all pending actions
  • Support for array parameters
  • new attributes, BeforeScenario, AfterScenario, BeforeStep and AfterStep. Thanks to John Rayner for patch.
  • xslt to convert xml output to html, use it with your build server. Thanks to Frederic Monjo for patch.
  • Console output now has colours.
  • new regexp for parameter matching, faster and supports more variants (\.+) . Its also way faster now :)
  • GivenAttribute, WhenAttribute and ThenAttribute replaces ActionStepAttribute
  • GivenAttribute, WhenAttribute and ThenAttribute supports regular expressions for almost total control over parameter matching. Dont forget to end your regexp with a $
  • parameter names allow more characters, parameter name must match regular expression [a-zA-Z]\w+
  • Examples are fixed
  • fixed a bug that hung the runner
  • fixed bug where events wasnt fired wich caused incorrect output
  • fixed bug causing exceptions when generating xml output
  • fixed bug in text output file not reporting failure on steps
  • Fixed bug where scenarios and stories wasnt counted correctly
  • Fixed bug where only last error was reported back.
  • Fixed bug where scenario event was raised for the wrong scenario

Reviews for this release

     
Like kadukf said. Use StoryQ but keep hold of the NBehave.Spec assembly for the "Should" extension methods as they read very nicely.
by bronumski on Sep 21, 2010 at 1:36 PM
     
Guys, take a look at StoryQ - we usd NBehave from v 0..3 but after v0.4.5 we migrated to SotryQ .... http://fknet.wordpress.com/2010/03/25/nbehave-out-storyq-in/
by kadukf on Mar 25, 2010 at 11:45 AM
     
Has no possibility to run tests under VS IDE -- that's a big drawback because it's often useful to debug tests. I even wrote a simply wrapper which allows me to run plain text scenario within IDE (using just runner with some custom listeners to supply with setup/teardown functionality) it would be nice to have it provided out-of-the-box. Anyway, it's the only tool which allows me to do my BDD
by palazkov on Dec 10, 2009 at 7:35 AM