NBehave

BDD framework for .NET

1 note

0.4.5 released

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



Filed under nbehave release

  1. buysteroidsuk reblogged this from nbehave
  2. nbehave posted this