Comment 0.4.5 released - 11/25/09

A new version of NBehave is out. You can grab it here.

Whats in the release

  • •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 regular expression 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 regular expression with a $
    • •parameter names allow more characters when using [Given("my name is $userName")], 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

Comment 0.4 released - 06/21/09

NBehave 0.4 has been released, here’s whats new since the 0.3 release

  • • NSpec merge, context/specification style
  • • SpecBase & SpecBase base classes for consistent specs
    • • supporting NUnit, MbUnit, Xunit, MSTest
  • • lives in NBehave.Spec namespace.
  • • Assert extension methods for NUnit, MbUnit, Xunit, MSTest
    • • lives in NBehave.Spec namespace.
    • • ex 42.ShouldEqual(42);
  • • Testdriven.NET plugin for story framework
  • • MSBuild task
  • • NAnt task
  • • Xml output for msbuild, nant and console runner
  • Behaviour specification as plain text
  • • Example project
  • • Installer

Download NBehave 0.4