<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>NBehave Wiki &amp; Documentation Rss Feed</title><link>http://www.codeplex.com/NBehave/Wiki/View.aspx?title=Home</link><description>NBehave Wiki Rss Description</description><item><title>Updated Wiki: Documentation</title><link>http://nbehave.codeplex.com/documentation?version=10</link><description>&lt;div class="wikidoc"&gt;
&lt;h1&gt;Documentation is now on &lt;a href="https://github.com/nbehave/NBehave/wiki/Documentation"&gt;github&lt;/a&gt;&lt;/h1&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>Lazydev</author><pubDate>Mon, 26 Nov 2012 20:30:44 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Documentation 20121126083044P</guid></item><item><title>Updated Wiki: Documentation</title><link>http://nbehave.codeplex.com/documentation?version=9</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Documentation&lt;/h1&gt;Is now on the &lt;a href="https://github.com/nbehave/NBehave/wiki/Documentation"&gt;github wiki&lt;/a&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=Getting%20started&amp;referringTitle=Documentation"&gt;Getting started&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=Getting%20started%20with%20the%20Visual%20Studio%202010%20plugin&amp;referringTitle=Documentation"&gt;Getting started with the Visual Studio 2010 plugin&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=Getting%20Started%20with%20Resharper%20plugin&amp;referringTitle=Documentation"&gt;Getting Started with Resharper plugin&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=IntegrateBuild&amp;referringTitle=Documentation"&gt;Integrate into build process&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=Using%20NBehave%20as%20syntactic%20sugar%20in%20unit%20tests&amp;referringTitle=Documentation"&gt;Using NBehave as syntactic sugar in unit tests&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=Code%20generation&amp;referringTitle=Documentation"&gt;Code generation&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Limited &lt;a href="http://testdriven.net/"&gt;TestDriven.NET&lt;/a&gt; support for text files&lt;/li&gt;
&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=Using%20NBehave%20as%20syntactic%20sugar%20in%20unit%20tests&amp;referringTitle=Documentation"&gt;Fluent interfaces&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=Embedded%20Runner&amp;referringTitle=Documentation"&gt;Embedded Runner&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;

&lt;ul&gt;&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=ActionSteps&amp;referringTitle=Documentation"&gt;Steps&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=Scenario%20Outline&amp;referringTitle=Documentation"&gt;Scenario Outline&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=Examples&amp;referringTitle=Documentation"&gt;Examples&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=Tables&amp;referringTitle=Documentation"&gt;Tables&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=Comments&amp;referringTitle=Documentation"&gt;Comments&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=Languages&amp;referringTitle=Documentation"&gt;Languages&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=Background&amp;referringTitle=Documentation"&gt;Background&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=Docstring&amp;referringTitle=Documentation"&gt;Docstring&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=Tags&amp;referringTitle=Documentation"&gt;Tags&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;&lt;b&gt;Please use the discussions section to leave messages. Since there are no notifications for wiki comments, they will likely never be read&lt;/b&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>Lazydev</author><pubDate>Mon, 26 Nov 2012 20:26:29 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Documentation 20121126082629P</guid></item><item><title>Updated Wiki: Home</title><link>http://nbehave.codeplex.com/wikipage?version=26</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;We are moving to Github:&lt;/h1&gt;
&lt;a href="https://github.com/nbehave/NBehave"&gt;https://github.com/nbehave/NBehave&lt;/a&gt;&lt;br /&gt;
&lt;h2&gt;Vision Statement &lt;/h2&gt;Based on Dan North&amp;#39;s initial vision of &lt;a href="http://dannorth.net/2007/06/introducing-rbehave"&gt;rbehave&lt;/a&gt; and utilizing the behavioral &lt;a href="http://en.wikipedia.org/wiki/Domain-specific_programming_language"&gt;domain specific language (DSL)&lt;/a&gt; of Behavior Driven Design (BDD) we created the NBehave framework.  The primary goal of NBehave is a framework for defining and executing application requirement goals.  These characterizations are modeled after the Behavioral Driven Design (BDD) terms Story, Scenario, Given, When, Then. Relying on a syntax that is lightweight and targeted at product owners (a few &amp;quot;quotes&amp;quot; mostly), the code becomes an executable and self-describing requirements document.  The definitions within the actual unit test of the application coupled with the organic nature of the architecture and ubiquity of the domain model translates these concepts into becoming one cohesive amalgam.  With the help of &lt;a href="http://domaindrivendesign.org/index.htm"&gt;Domain Driven Design&lt;/a&gt;, the code actually becomes what we have always wanted, living requirements that are constantly asserted on to ensure their viability and accuracy from inception to implementation.  Can you say true traceability! &lt;br /&gt;&lt;br /&gt;
&lt;h1&gt;Content&lt;/h1&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=Getting%20started&amp;referringTitle=Home"&gt;Getting started&lt;/a&gt;&lt;br /&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=Features&amp;referringTitle=Home"&gt;Features&lt;/a&gt;&lt;br /&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=Set%20Up&amp;referringTitle=Home"&gt;Set Up&lt;/a&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>Lazydev</author><pubDate>Sun, 14 Oct 2012 11:40:13 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20121014114013A</guid></item><item><title>Updated Wiki: Documentation</title><link>http://nbehave.codeplex.com/documentation?version=8</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Documentation&lt;/h1&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=Getting%20started&amp;referringTitle=Documentation"&gt;Getting started&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=Getting%20started%20with%20the%20Visual%20Studio%202010%20plugin&amp;referringTitle=Documentation"&gt;Getting started with the Visual Studio 2010 plugin&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=Getting%20Started%20with%20Resharper%20plugin&amp;referringTitle=Documentation"&gt;Getting Started with Resharper plugin&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=IntegrateBuild&amp;referringTitle=Documentation"&gt;Integrate into build process&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=Using%20NBehave%20as%20syntactic%20sugar%20in%20unit%20tests&amp;referringTitle=Documentation"&gt;Using NBehave as syntactic sugar in unit tests&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=Code%20generation&amp;referringTitle=Documentation"&gt;Code generation&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Limited &lt;a href="http://testdriven.net/"&gt;TestDriven.NET&lt;/a&gt; support for text files&lt;/li&gt;
&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=Using%20NBehave%20as%20syntactic%20sugar%20in%20unit%20tests&amp;referringTitle=Documentation"&gt;Fluent interfaces&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=Embedded%20Runner&amp;referringTitle=Documentation"&gt;Embedded Runner&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;

&lt;ul&gt;&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=ActionSteps&amp;referringTitle=Documentation"&gt;Steps&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=Scenario%20Outline&amp;referringTitle=Documentation"&gt;Scenario Outline&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=Examples&amp;referringTitle=Documentation"&gt;Examples&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=Tables&amp;referringTitle=Documentation"&gt;Tables&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=Comments&amp;referringTitle=Documentation"&gt;Comments&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=Languages&amp;referringTitle=Documentation"&gt;Languages&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=Background&amp;referringTitle=Documentation"&gt;Background&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=Docstring&amp;referringTitle=Documentation"&gt;Docstring&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=Tags&amp;referringTitle=Documentation"&gt;Tags&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;&lt;b&gt;Please use the discussions section to leave messages. Since there are no notifications for wiki comments, they will likely never be read&lt;/b&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>Lazydev</author><pubDate>Thu, 09 Aug 2012 13:14:24 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Documentation 20120809011424P</guid></item><item><title>Updated Wiki: Getting started</title><link>http://nbehave.codeplex.com/wikipage?title=Getting started&amp;version=8</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Getting started&lt;/h1&gt; * &lt;a href="#Write a scenario"&gt;Write a scenario&lt;/a&gt;&lt;br /&gt; * &lt;a href="#Create matching C# Scenario class"&gt;Create matching C# Scenario class&lt;/a&gt;&lt;br /&gt; * &lt;a href="#Running the scenario"&gt;Running the scenario&lt;/a&gt;&lt;br /&gt; * &lt;a href="#Define the steps for your scenario"&gt;Define the steps for your scenario&lt;/a&gt;&lt;br /&gt; * &lt;a href="#Run your successful scenario!"&gt;Run your successful scenario!&lt;/a&gt;&lt;br /&gt;
&lt;h2&gt;&lt;a name="Write a Scenario"&gt;&lt;/a&gt;Write a scenario&lt;/h2&gt;Start Visual Studio (or whatever editor you like).&lt;br /&gt;Create a scenario using the words &lt;i&gt;Given&lt;/i&gt;, &lt;i&gt;When&lt;/i&gt;, &lt;i&gt;Then&lt;/i&gt;, &lt;i&gt;And&lt;/i&gt; and &lt;i&gt;But&lt;/i&gt;.&lt;br /&gt;&lt;pre&gt;
Given I am not logged in
When I log in as Morgan with a password SecretPassw0rd
Then I should see a message, &amp;quot;Welcome, Morgan!&amp;quot;
&lt;/pre&gt;&lt;br /&gt;Save the scenario in file. The file should have a meaningful name, eg: user_logs_in_successfully.feature&lt;br /&gt;
&lt;h2&gt;&lt;a name="Create matching C# Scenario class"&gt;&lt;/a&gt;Create matching C# Scenario class&lt;/h2&gt;Create a C# class, that matches the text scenario name. You can choose to use CamelCase or underscores just as your feature file.&lt;br /&gt;It should have the same name as your scenario, but not required. e.g. &lt;b&gt;UserLogsInSuccessfully&lt;/b&gt; or user_logs_in_successfully.feature works fine.&lt;br /&gt;Add a reference to _NBehave.Narrator.Framework.dll.&lt;br /&gt;To assert on the scenario outcome you can use NBehave&amp;#39;s extensions to either NUnit, XUnit, MbUnit or MsTest, lets use NUnit so add a reference to &lt;i&gt;nbehave.spec.framework.dll&lt;/i&gt;, &lt;i&gt;nbehave.spec.nunit&lt;/i&gt; and &lt;i&gt;nunit.framework.dll&lt;/i&gt;.&lt;br /&gt;You can also use almost any test framework if you like directly.&lt;br /&gt;
&lt;h2&gt;&lt;a name="Running the scenario"&gt;&lt;/a&gt;Running the scenario&lt;/h2&gt;To run the scenario open a console window and run&lt;br /&gt;&lt;pre&gt;
&amp;gt;NBehave-Console.exe  NameOfDll.dll /sf=user_logs_in_successfully.feature
&lt;/pre&gt;&lt;br /&gt;NameOfDll.dll is the name of the assembly that contains your classes that are decorated with the attribute ActionSteps&lt;br /&gt;&lt;br /&gt;You should get an output that looks something like this.&lt;br /&gt;&lt;pre&gt;
NBehave version 0.4.5.183
Copyright &amp;#194;&amp;#169; NBehave 2007-2009
All Rights Reserved.

Runtime Environment -
   OS Version: Microsoft Windows NT 5.1.2600 Service Pack 3
  CLR Version: 2.0.50727.3603

Scenario: 1.user_logs_in_successfully
Given I am not logged in - PENDING
When I log in as Morgan with a password SecretPassw0rd - PENDING
Then I should see a message, &amp;quot;Welcome, Morgan!&amp;quot; - PENDING

P
Scenarios run: 1, Failures: 0, Pending: 1
Steps 3, failed 0, pending 3

Pending:
1)  (1.user_logs_in_successfully): No matching Action found for &amp;quot;Given I am not logged in&amp;quot;
No matching Action found for &amp;quot;When I log in as Morgan with a password SecretPassw0rd&amp;quot;
No matching Action found for &amp;quot;Then I should see a message, &amp;quot;Welcome, Morgan!&amp;quot;&amp;quot;
&lt;/pre&gt;&lt;br /&gt;What’s happening is that NBehave cannot find matching methods in the ActionSteps class corresponding the to steps in the text scenario.&lt;br /&gt;
&lt;h2&gt;&lt;a name="Define the steps for your scenario"&gt;&lt;/a&gt;Define the steps for your scenario&lt;/h2&gt;
In the class you created (UserLogsInSuccessfully), write a method for each step, then annotate that method using NBehave attributes &lt;i&gt;GivenAttribute&lt;/i&gt;, &lt;i&gt;WhenAttribute&lt;/i&gt; or &lt;i&gt;ThenAttribute&lt;/i&gt;, depending on whether the step sets up a context (Given), performs some events that you’re interested in (When) or describes the desired outcome (Then).&lt;br /&gt;&lt;br /&gt;The value of the attributes should match the steps you described in your scenario. You can capture arguments to pass through to your steps using a prefix, ”$”, before the argument.&lt;br /&gt;&lt;pre&gt;
using NBehave.Narrator.Framework;
using NBehave.Spec.NUnit;

[ActionSteps]
public class UserLogsInSuccessfully
{
    // some code to setup _currentPage
    // ...

    [Given(&amp;quot;I am not logged in&amp;quot;)]
    public void LogOut()
    {
        _currentPage.click(&amp;quot;logout&amp;quot;);
    }

    [When(&amp;quot;I log in as $username with a password $password&amp;quot;)]
    public void LogIn(string username, string password)
    {
        _currentPage.click(&amp;quot;login&amp;quot;);
    }

    [Then(&amp;quot;I should see a message, \&amp;quot;$message\&amp;quot;&amp;quot;)]
    public void CheckMessage(string message)
    {
        _currentPage.ToString().ShouldContain(message);
    }
}
&lt;/pre&gt;
&lt;h2&gt;&lt;a name="Run your successful scenario!"&gt;&lt;/a&gt;Run your successful scenario!&lt;/h2&gt;
If you now re-run your scenario, you’ll find that the PENDING messages are gone and your scenario has run successfully.
&lt;h2&gt;&lt;a name="Configure scenarios"&gt;&lt;/a&gt;Configure scenarios&lt;/h2&gt;While sensible and most useful default values are provided, NBehave has been designed to be configurable to suit most developers’ requirements. &lt;br /&gt;Learn more about &lt;a href="http://nbehave.codeplex.com/wikipage?title=scenario%20files&amp;referringTitle=Getting%20started"&gt;scenario files&lt;/a&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>Lazydev</author><pubDate>Wed, 08 Aug 2012 21:18:10 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Getting started 20120808091810P</guid></item><item><title>Updated Wiki: Languages</title><link>http://nbehave.codeplex.com/wikipage?title=Languages&amp;version=9</link><description>&lt;div class="wikidoc"&gt;So not everyone has english as their primary language so its possible to write in your native language.&lt;br /&gt;&lt;br /&gt;All you have to do is add a line to your text files, it must be the first line in the text file!&lt;br /&gt;&lt;br /&gt;So, here is a calculator example in swedish&lt;br /&gt;&lt;pre&gt;
# language: se
Givet att jag knappat in 5
Och att jag knappat in 4
N&amp;#228;r jag summerar
D&amp;#229; ska resultatet vara 9
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;and the attribute to match the &lt;i&gt;Given&lt;/i&gt; step looks like this&lt;br /&gt;&lt;pre&gt;
[Given(@&amp;quot;att jag knappat in $number&amp;quot;)]
public void GivenNumber(int number)
{
    //code here
}
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Currently only english and Swedish are added so if your language isnt there you have to add it yourself. You do that by editing the file &lt;i&gt;languages.yml&lt;/i&gt;, you will find it along with the other nbehave files.  And please, send us a patch with the added language.&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>Lazydev</author><pubDate>Wed, 08 Aug 2012 21:15:26 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Languages 20120808091526P</guid></item><item><title>Updated Wiki: Comments</title><link>http://nbehave.codeplex.com/wikipage?title=Comments&amp;version=5</link><description>&lt;div class="wikidoc"&gt;If you want to add a comments in your text files you do it by starting the line with a # (whitespaces are ignored) like this&lt;br /&gt;&lt;pre&gt;
# a comment
    # this is a comment with leading spaces which is allowed
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;This is not a legal comment, the entire row is treated as a step&lt;br /&gt;&lt;pre&gt;
Given a number #only integers allowed
&lt;/pre&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>Lazydev</author><pubDate>Wed, 08 Aug 2012 21:15:09 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Comments 20120808091509P</guid></item><item><title>Updated Wiki: Tables</title><link>http://nbehave.codeplex.com/wikipage?title=Tables&amp;version=12</link><description>&lt;div class="wikidoc"&gt;Tables work somewhat like &lt;a href="http://nbehave.codeplex.com/wikipage?title=Examples&amp;referringTitle=Tables"&gt;Examples&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Lets look at an example:&lt;br /&gt;&lt;pre&gt;
Feature: Table support in nbehave
Scenario: a table
  Given a list of people:
    |Name   |Country|
    |Morgan |Sweden |
    |Jimmy  |Sweden |
    |Jimmy  |USA    |
  When I search for people from Sweden
  Then I should find:
    |Name  |Country|
    |Morgan|Sweden |
    |Jimmy |Sweden |
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;And here is the code to implement the feature&lt;br /&gt;&lt;pre&gt;
using System.Collections.Generic;
using System.Linq;
using NBehave.Narrator.Framework;
using NBehave.Spec.NUnit;

namespace NBehave.Examples.Tables
{
    public class People
    {
        public string Name { get; set; }
        public string Country { get; set; }
    }

    [ActionSteps]
    public class Table
    {
        private List&amp;lt;People&amp;gt; _people;
        private List&amp;lt;People&amp;gt; _found;

        [BeforeScenario]
        public void Init()
        {
            _people = new List&amp;lt;People&amp;gt;();
        }

        [Given(&amp;quot;a list of people:&amp;quot;)]
        public void List_of_people(string name, string country)
        {
            _people.Add(new People { Name = name.Trim(), Country = country.Trim() });
        }

        [When(@&amp;quot;I search for people from $country&amp;quot;)]
        public void SearchByCountry(string country)
        {
            _found = _people.Where(p =&amp;gt; p.Country == country).ToList();
        }

        [Then(@&amp;quot;I should find:&amp;quot;)]
        public void Should_Find(string name, string country)
        {
            var found = _found.Where(p =&amp;gt; p.Name == name.Trim() &amp;amp;&amp;amp; p.Country == country.Trim());
            found.Count().ShouldEqual(1);
        }
    }
}
&lt;/pre&gt;&lt;br /&gt;The difference from &lt;a href="http://nbehave.codeplex.com/wikipage?title=Examles&amp;referringTitle=Tables"&gt;Examles&lt;/a&gt; is that with tables, the &lt;i&gt;Given&lt;/i&gt; step in this example is executed 3 times, one time for each row.&lt;br /&gt;After that the &lt;i&gt;When&lt;/i&gt; step is executed,&lt;br /&gt;and last the &lt;i&gt;Then&lt;/i&gt; step is executed two times, one time for each row.&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>Lazydev</author><pubDate>Wed, 08 Aug 2012 21:14:55 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Tables 20120808091455P</guid></item><item><title>Updated Wiki: Examples</title><link>http://nbehave.codeplex.com/wikipage?title=Examples&amp;version=3</link><description>&lt;div class="wikidoc"&gt;Instead of repeating the same example and only change the values you can use examples.&lt;br /&gt;&lt;br /&gt;You write an example like this:&lt;br /&gt;&lt;pre&gt;
Feature: add, subtract, divide and multiply

Scenario: Add numbers
	Given I have entered [num1] into the calculator
	And I have entered [num2] into the calculator
	When I add the numbers
	Then the sum should be [result]
	
Examples:
|num1|num2|result|
|   1|   2|     3|
|  -1|   2|     1|
|   1|  -2|    -1|
|  -2|  -3|    -5|
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;and the code for the steps is implemented&lt;br /&gt;&lt;pre&gt;
using NBehave.Narrator.Framework;
using NBehave.Spec.NUnit;

namespace NBehave.Examples.Calculator_table.Steps
{
    [ActionSteps]
    public class AddNumbers
    {
        private Calculator _calculator;

        [BeforeScenario]
        public void SetUp_scenario()
        {
            _calculator = new Calculator();
        }

        [Given(@&amp;quot;I have entered $number into the calculator&amp;quot;)]
        public void Enter_number(int number)
        {
            _calculator.Enter(number);
        }

        [When(@&amp;quot;I add the numbers&amp;quot;)]
        public void Add()
        {
            _calculator.Add();
        }

        [Then(@&amp;quot;the sum should be $result&amp;quot;)]
        public void Result(int result)
        {
            _calculator.Value().ShouldEqual(result);
        }
    }
}
&lt;/pre&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>Lazydev</author><pubDate>Wed, 08 Aug 2012 21:14:33 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Examples 20120808091433P</guid></item><item><title>Updated Wiki: ActionSteps</title><link>http://nbehave.codeplex.com/wikipage?title=ActionSteps&amp;version=5</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Steps&lt;/h1&gt;To link your specification in a textfile to code, you add the attribute Nbehave.Narrator.ActionStepsAttribute on the class where you intend to implement your steps.&lt;br /&gt;Each step in the text file need to be mapped to a method in a class with the ActionSteps attribute, this is done with the attributes Given, When and Then. The three attributes works the same way.&lt;br /&gt;The easiest way is to just add the attribute to a method and name the method as the actionstep in the text file with spaces replaced with underscores, ex:&lt;br /&gt;In the textfile you may have &lt;br /&gt;&lt;pre&gt;
Given I have a Greeting system
&lt;/pre&gt;&lt;br /&gt;This is easily mapped with the following code&lt;br /&gt;&lt;pre&gt;
[Given]
public void Given_I_have_a_greeting_system() 
{
   // code 
}
&lt;/pre&gt;&lt;br /&gt;or you can do it this way&lt;br /&gt;&lt;pre&gt;
[Given(&amp;quot;I have a greeting system&amp;quot;)]
public void GreetingSystem() 
{
   // code 
}
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;If you need parameters you use the name of the parameter in the method name like this:&lt;br /&gt;&lt;pre&gt;
Given my name is Morgan
&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;
[Given(&amp;quot;my name is $userName&amp;quot;)]
public void UserName(string userName) 
{
   // code 
}
&lt;/pre&gt;&lt;br /&gt;The &lt;i&gt;$userName&lt;/i&gt; in the string is mapped to the input parameter userName so that you can write&lt;br /&gt;&lt;span class="codeInline"&gt;Given my name is Morgan&lt;/span&gt;&lt;br /&gt;nbehave will call the UserName method with Morgan as the value of the parameter.&lt;br /&gt;&lt;br /&gt;There&amp;#39;s also the option to write your step like this&lt;br /&gt;&lt;pre&gt;
[Given]
public void Given_my_name_is_userName(string userName) 
{
   // code 
}
&lt;/pre&gt;&lt;br /&gt;In this case the method name will be used as step text. This is equivalent to the previous example.&lt;br /&gt;The function name will be turned into a &lt;span class="codeInline"&gt;[Given(&amp;quot;my name is $userName&amp;quot;)]&lt;/span&gt;.&lt;br /&gt;The parameter names will be match with the first occurrance in the method name using this method.&lt;br /&gt;
&lt;h2&gt;More control!&lt;/h2&gt;If you need more control over the parameters sent to a method you can specify a regular expression to map out parameters from the textfile to a method.&lt;br /&gt;Ex: ”Given my name is Morgan Persson”&lt;br /&gt;And you want to map ”Morgan Persson” to one parameter, this cannot be done with only [Given] so you have to specify a regular expression:&lt;br /&gt;&lt;pre&gt;
[Given(@”my name is (?&amp;lt;userName&amp;gt;\w+\s\w+)$”)]
public void Given_my_name_is(string userName) 
{
   // code 
}
&lt;/pre&gt;&lt;br /&gt;Its important that you match the parameter names in the function with the group names in your regular expression or Nbehave wont be able to match things together.&lt;br /&gt;
&lt;h2&gt;Alias&lt;/h2&gt;Its possible to have multiple attributes on the same method so that your scenarios can be worded differently.&lt;br /&gt;&lt;pre&gt;
[Given(&amp;quot;my name is $userName&amp;quot;)]
[Given(&amp;quot;a user named $userName&amp;quot;)]
public void UserName(string userName) 
{
   // code 
}
&lt;/pre&gt;&lt;br /&gt;
&lt;h2&gt;Arrays&lt;/h2&gt;If you need a parameter to a step that is an array you must specify a regular expression that match comma separated values.&lt;br /&gt;&lt;pre&gt;
[Given(@”a list of numbers\s+(?&amp;lt;values&amp;gt;(\d+,?\s*)+)”)]
public void Given_array(int[] values) 
{
   // code 
}
&lt;/pre&gt;&lt;br /&gt;Will match:&lt;br /&gt;&lt;pre&gt;
Given a list of numbers 1, 2, 3, 5, 8
&lt;/pre&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>Lazydev</author><pubDate>Wed, 08 Aug 2012 21:14:05 GMT</pubDate><guid isPermaLink="false">Updated Wiki: ActionSteps 20120808091405P</guid></item><item><title>Updated Wiki: Code generation</title><link>http://nbehave.codeplex.com/wikipage?title=Code generation&amp;version=5</link><description>&lt;div class="wikidoc"&gt;When you have created a new step file you can let nbehave generate skeleton step methods by runnning &lt;i&gt;nbehave-console.exe&lt;/i&gt; with the parameter &lt;i&gt;/codegen&lt;/i&gt;&lt;br /&gt;Example: &lt;br /&gt;&lt;pre&gt;
nbehave-console.exe MyAssembly.dll /sf=myfeature.feature /codegen
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;The code generator isnt very good at spotting a parameter from any other word so you have to edit the steps and add the parameters yourself.&lt;br /&gt;Its also may generate multiple methods for the same step so beware of this. Our suggestion is that you move forward in small steps to mitigate this.  &lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>Lazydev</author><pubDate>Wed, 08 Aug 2012 21:13:35 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Code generation 20120808091335P</guid></item><item><title>Updated Wiki: IntegrateBuild</title><link>http://nbehave.codeplex.com/wikipage?title=IntegrateBuild&amp;version=3</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Integrate with build&lt;/h1&gt;There are 3 ways to integrate NBehave in your build.&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=MSBuildTask&amp;referringTitle=IntegrateBuild"&gt;MSBuild task&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=NAntTask&amp;referringTitle=IntegrateBuild"&gt;NAnt task&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=ConsoleRunner&amp;referringTitle=IntegrateBuild"&gt;Console runner&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>Lazydev</author><pubDate>Wed, 08 Aug 2012 21:12:45 GMT</pubDate><guid isPermaLink="false">Updated Wiki: IntegrateBuild 20120808091245P</guid></item><item><title>Updated Wiki: Getting started</title><link>http://nbehave.codeplex.com/wikipage?title=Getting started&amp;version=7</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Getting started&lt;/h1&gt; * &lt;a href="#Write a scenario"&gt;Write a scenario&lt;/a&gt;&lt;br /&gt; * &lt;a href="#Create matching C# Scenario class"&gt;Create matching C# Scenario class&lt;/a&gt;&lt;br /&gt; * &lt;a href="#Running the scenario"&gt;Running the scenario&lt;/a&gt;&lt;br /&gt; * &lt;a href="#Define the steps for your scenario"&gt;Define the steps for your scenario&lt;/a&gt;&lt;br /&gt; * &lt;a href="#Run your successful scenario!"&gt;Run your successful scenario!&lt;/a&gt;&lt;br /&gt;
&lt;h2&gt;&lt;a name="Write a Scenario"&gt;&lt;/a&gt;Write a scenario&lt;/h2&gt;Start Visual Studio (or whatever editor you like).&lt;br /&gt;Create a scenario using the words &lt;i&gt;Given&lt;/i&gt;, &lt;i&gt;When&lt;/i&gt;, &lt;i&gt;Then&lt;/i&gt;, &lt;i&gt;And&lt;/i&gt; and &lt;i&gt;But&lt;/i&gt; (only in 0.5.0 or newer).&lt;br /&gt;&lt;pre&gt;
Given I am not logged in
When I log in as Morgan with a password SecretPassw0rd
Then I should see a message, &amp;quot;Welcome, Morgan!&amp;quot;
&lt;/pre&gt;&lt;br /&gt;Save the scenario in file. The file should have a meaningful name, eg: user_logs_in_successfully.feature&lt;br /&gt;
&lt;h2&gt;&lt;a name="Create matching C# Scenario class"&gt;&lt;/a&gt;Create matching C# Scenario class&lt;/h2&gt;Create a C# class, that matches the text scenario name. You can choose to use CamelCase or underscores just as your feature file.&lt;br /&gt;It should have the same name as your scenario, but not required. e.g. &lt;b&gt;UserLogsInSuccessfully&lt;/b&gt; or user_logs_in_successfully.feature works fine.&lt;br /&gt;Add a reference to _NBehave.Narrator.Framework.dll.&lt;br /&gt;To assert on the scenario outcome you can use NBehave&amp;#39;s extensions to either NUnit, XUnit, MbUnit or MsTest, lets use NUnit so add a reference to &lt;i&gt;nbehave.spec.framework.dll&lt;/i&gt;, &lt;i&gt;nbehave.spec.nunit&lt;/i&gt; and &lt;i&gt;nunit.framework.dll&lt;/i&gt;.&lt;br /&gt;You can also use almost any test framework if you like directly.&lt;br /&gt;
&lt;h2&gt;&lt;a name="Running the scenario"&gt;&lt;/a&gt;Running the scenario&lt;/h2&gt;To run the scenario open a console window and run&lt;br /&gt;&lt;pre&gt;
&amp;gt;NBehave-Console.exe  NameOfDll.dll /sf=user_logs_in_successfully.feature
&lt;/pre&gt;&lt;br /&gt;NameOfDll.dll is the name of the assembly that contains your classes that are decorated with the attribute ActionSteps&lt;br /&gt;&lt;br /&gt;You should get an output that looks something like this.&lt;br /&gt;&lt;pre&gt;
NBehave version 0.4.5.183
Copyright &amp;#194;&amp;#169; NBehave 2007-2009
All Rights Reserved.

Runtime Environment -
   OS Version: Microsoft Windows NT 5.1.2600 Service Pack 3
  CLR Version: 2.0.50727.3603

Scenario: 1.user_logs_in_successfully
Given I am not logged in - PENDING
When I log in as Morgan with a password SecretPassw0rd - PENDING
Then I should see a message, &amp;quot;Welcome, Morgan!&amp;quot; - PENDING

P
Scenarios run: 1, Failures: 0, Pending: 1
Steps 3, failed 0, pending 3

Pending:
1)  (1.user_logs_in_successfully): No matching Action found for &amp;quot;Given I am not logged in&amp;quot;
No matching Action found for &amp;quot;When I log in as Morgan with a password SecretPassw0rd&amp;quot;
No matching Action found for &amp;quot;Then I should see a message, &amp;quot;Welcome, Morgan!&amp;quot;&amp;quot;
&lt;/pre&gt;&lt;br /&gt;What’s happening is that NBehave cannot find matching methods in the ActionSteps class corresponding the to steps in the text scenario.&lt;br /&gt;
&lt;h2&gt;&lt;a name="Define the steps for your scenario"&gt;&lt;/a&gt;Define the steps for your scenario&lt;/h2&gt;
In the class you created (UserLogsInSuccessfully), write a method for each step, then annotate that method using NBehave attributes &lt;i&gt;GivenAttribute&lt;/i&gt;, &lt;i&gt;WhenAttribute&lt;/i&gt; or &lt;i&gt;ThenAttribute&lt;/i&gt;, depending on whether the step sets up a context (Given), performs some events that you’re interested in (When) or describes the desired outcome (Then).&lt;br /&gt;&lt;br /&gt;The value of the attributes should match the steps you described in your scenario. You can capture arguments to pass through to your steps using a prefix, ”$”, before the argument.&lt;br /&gt;&lt;pre&gt;
using NBehave.Narrator.Framework;
using NBehave.Spec.NUnit;

[ActionSteps]
public class UserLogsInSuccessfully
{
    // some code to setup _currentPage
    // ...

    [Given(&amp;quot;I am not logged in&amp;quot;)]
    public void LogOut()
    {
        _currentPage.click(&amp;quot;logout&amp;quot;);
    }

    [When(&amp;quot;I log in as $username with a password $password&amp;quot;)]
    public void LogIn(string username, string password)
    {
        _currentPage.click(&amp;quot;login&amp;quot;);
    }

    [Then(&amp;quot;I should see a message, \&amp;quot;$message\&amp;quot;&amp;quot;)]
    public void CheckMessage(string message)
    {
        _currentPage.ToString().ShouldContain(message);
    }
}
&lt;/pre&gt;
&lt;h2&gt;&lt;a name="Run your successful scenario!"&gt;&lt;/a&gt;Run your successful scenario!&lt;/h2&gt;
If you now re-run your scenario, you’ll find that the PENDING messages are gone and your scenario has run successfully.
&lt;h2&gt;&lt;a name="Configure scenarios"&gt;&lt;/a&gt;Configure scenarios&lt;/h2&gt;While sensible and most useful default values are provided, NBehave has been designed to be configurable to suit most developers’ requirements. &lt;br /&gt;Learn more about &lt;a href="http://nbehave.codeplex.com/wikipage?title=scenario%20files&amp;referringTitle=Getting%20started"&gt;scenario files&lt;/a&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>Lazydev</author><pubDate>Wed, 08 Aug 2012 21:12:02 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Getting started 20120808091202P</guid></item><item><title>Updated Wiki: Documentation</title><link>http://nbehave.codeplex.com/documentation?version=7</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Documentation&lt;/h1&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=Getting%20started&amp;referringTitle=Documentation"&gt;Getting started&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=Getting%20started%20with%20the%20Visual%20Studio%202010%20plugin&amp;referringTitle=Documentation"&gt;Getting started with the Visual Studio 2010 plugin&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=Getting%20Started%20with%20Resharper%20plugin&amp;referringTitle=Documentation"&gt;Getting Started with Resharper plugin&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=IntegrateBuild&amp;referringTitle=Documentation"&gt;Integrate into build process&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=Using%20NBehave%20as%20syntactic%20sugar%20in%20unit%20tests&amp;referringTitle=Documentation"&gt;Using NBehave as syntactic sugar in unit tests&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=Code%20generation&amp;referringTitle=Documentation"&gt;Code generation&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Limited &lt;a href="http://testdriven.net/"&gt;TestDriven.NET&lt;/a&gt; support for text files&lt;/li&gt;
&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=Using%20NBehave%20as%20syntactic%20sugar%20in%20unit%20tests&amp;referringTitle=Documentation"&gt;Fluent interfaces&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=Embedded%20Runner&amp;referringTitle=Documentation"&gt;Embedded Runner&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;

&lt;ul&gt;&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=ActionSteps&amp;referringTitle=Documentation"&gt;Steps&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=Scenario%20Outline&amp;referringTitle=Documentation"&gt;Scenario Outline&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=Examples&amp;referringTitle=Documentation"&gt;Examples&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=Tables&amp;referringTitle=Documentation"&gt;Tables&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=Comments&amp;referringTitle=Documentation"&gt;Comments&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=Languages&amp;referringTitle=Documentation"&gt;Languages&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=Background&amp;referringTitle=Documentation"&gt;Background&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=Docstring&amp;referringTitle=Documentation"&gt;Docstring&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://nbehave.codeplex.com/wikipage?title=Tags&amp;referringTitle=Documentation"&gt;Tags&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>Lazydev</author><pubDate>Wed, 08 Aug 2012 21:10:49 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Documentation 20120808091049P</guid></item><item><title>New Comment on "Getting started"</title><link>http://nbehave.codeplex.com/wikipage?title=Getting started&amp;ANCHOR#C24538</link><description>Correction, I WAS using 0.5.0&amp;#33; I have even tried the &amp;#47;codegen flag which does NOT generate the same code as is written above&amp;#33; Will try the examples included in the installation ...</description><author>harryhazza</author><pubDate>Fri, 27 Jul 2012 09:17:42 GMT</pubDate><guid isPermaLink="false">New Comment on "Getting started" 20120727091742A</guid></item><item><title>New Comment on "Getting started"</title><link>http://nbehave.codeplex.com/wikipage?title=Getting started&amp;ANCHOR#C24537</link><description>Hi,&amp;#10;&amp;#10;using vs2010 and NBehave 0.5.1, Jun 11 2011, Beta, followed steps exactly as above and it always says PENDING. Will remove the beta and try 0.5.0 ...</description><author>harryhazza</author><pubDate>Fri, 27 Jul 2012 09:07:52 GMT</pubDate><guid isPermaLink="false">New Comment on "Getting started" 20120727090752A</guid></item><item><title>New Comment on "Getting started with the Visual Studio 2010 plugin"</title><link>http://nbehave.codeplex.com/wikipage?title=Getting started with the Visual Studio 2010 plugin&amp;ANCHOR#C21426</link><description>I am unsure from these directions how to enable the plugin in TFS. &amp;#10;I have run the installer locally, selected the the VS 2010 Plugin checkbox, imported the example files into a TFS project, added them to the solution, built,  and right clicked on the One strike.feature file.  I do not get the context menu above.</description><author>ewascent</author><pubDate>Wed, 02 Nov 2011 19:09:24 GMT</pubDate><guid isPermaLink="false">New Comment on "Getting started with the Visual Studio 2010 plugin" 20111102070924P</guid></item><item><title>New Comment on "Using NBehave as syntactic sugar in unit tests"</title><link>http://nbehave.codeplex.com/wikipage?title=Using NBehave as syntactic sugar in unit tests&amp;ANCHOR#C21223</link><description>Error&amp;#9;1&amp;#9;&amp;#39;NBehave.Narrator.Framework.Feature&amp;#39; does not contain a definition for &amp;#39;AddStory&amp;#39; and no extension method &amp;#39;AddStory&amp;#39; accepting a first argument of type &amp;#39;NBehave.Narrator.Framework.Feature&amp;#39; could be found &amp;#40;are you missing a using directive or an assembly reference&amp;#63;&amp;#41;&amp;#9;C&amp;#58;&amp;#92;Documents and Settings&amp;#92;FManibo&amp;#92;My Documents&amp;#92;Trainings&amp;#92;WCF REST&amp;#92;Lab 1&amp;#92;WCFRESTTraining&amp;#92;NBehavePoC&amp;#92;NBehavePoC.Test&amp;#92;Class1.cs&amp;#9;19&amp;#9;18&amp;#9;NBehavePoC.Test</description><author>fmanibo</author><pubDate>Wed, 12 Oct 2011 09:27:38 GMT</pubDate><guid isPermaLink="false">New Comment on "Using NBehave as syntactic sugar in unit tests" 20111012092738A</guid></item><item><title>New Comment on "Using NBehave as syntactic sugar in unit tests"</title><link>http://nbehave.codeplex.com/wikipage?title=Using NBehave as syntactic sugar in unit tests&amp;ANCHOR#C21222</link><description>Is the ScenarioDrivenSpecBase for the 5.1 version also following the same Fluent methods, because I just downloaded it and copied this sample but AddStory&amp;#40;&amp;#41; is not available.</description><author>fmanibo</author><pubDate>Wed, 12 Oct 2011 09:24:37 GMT</pubDate><guid isPermaLink="false">New Comment on "Using NBehave as syntactic sugar in unit tests" 20111012092437A</guid></item><item><title>New Comment on "MSBuildTask"</title><link>http://nbehave.codeplex.com/wikipage?title=MSBuildTask&amp;ANCHOR#C21221</link><description>Error&amp;#9;1&amp;#9;The &amp;#34;NBehaveTask&amp;#34; task failed unexpectedly.&amp;#10;System.IO.FileNotFoundException&amp;#58; Could not load file or assembly &amp;#39;file&amp;#58;&amp;#47;&amp;#47;&amp;#47;C&amp;#58;&amp;#92;Documents and Settings&amp;#92;FManibo&amp;#92;My Documents&amp;#92;Trainings&amp;#92;WCF REST&amp;#92;Lab 1&amp;#92;WCFRESTTraining&amp;#92;NBehavePoC&amp;#92;bin&amp;#92;debug&amp;#92;NBehavePoC.Test.dll&amp;#39; or one of its dependencies. The system cannot find the file specified.&amp;#10;File name&amp;#58; &amp;#39;file&amp;#58;&amp;#47;&amp;#47;&amp;#47;C&amp;#58;&amp;#92;Documents and Settings&amp;#92;FManibo&amp;#92;My Documents&amp;#92;Trainings&amp;#92;WCF REST&amp;#92;Lab 1&amp;#92;WCFRESTTraining&amp;#92;NBehavePoC&amp;#92;bin&amp;#92;debug&amp;#92;NBehavePoC.Test.dll&amp;#39;&amp;#10;   at System.Reflection.RuntimeAssembly._nLoad&amp;#40;AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark&amp;#38; stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks&amp;#41;&amp;#10;   at System.Reflection.RuntimeAssembly.nLoad&amp;#40;AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark&amp;#38; stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks&amp;#41;&amp;#10;   at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName&amp;#40;AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark&amp;#38; stackMark, Boolean forIntrospection, Boolean suppressSecurityChecks&amp;#41;&amp;#10;   at System.Reflection.RuntimeAssembly.InternalLoadFrom&amp;#40;String assemblyFile, Evidence securityEvidence, Byte&amp;#91;&amp;#93; hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark&amp;#38; stackMark&amp;#41;&amp;#10;   at System.Reflection.Assembly.LoadFrom&amp;#40;String assemblyFile&amp;#41;&amp;#10;   at NBehave.Narrator.Framework.RunnerBase.LoadAssembly&amp;#40;String assemblyPath&amp;#41;&amp;#10;   at NBehave.MSBuild.NBehaveTask.LoadAssemblies&amp;#40;IRunner runner&amp;#41;&amp;#10;   at NBehave.MSBuild.NBehaveTask.Execute&amp;#40;&amp;#41;&amp;#10;   at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute&amp;#40;&amp;#41;&amp;#10;   at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask&amp;#40;ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask, Boolean&amp;#38; taskResult&amp;#41;&amp;#10;&amp;#10;WRN&amp;#58; Assembly binding logging is turned OFF.&amp;#10;To enable assembly bind failure logging, set the registry value &amp;#91;HKLM&amp;#92;Software&amp;#92;Microsoft&amp;#92;Fusion&amp;#33;EnableLog&amp;#93; &amp;#40;DWORD&amp;#41; to 1.&amp;#10;Note&amp;#58; There is some performance penalty associated with assembly bind failure logging.&amp;#10;To turn this feature off, remove the registry value &amp;#91;HKLM&amp;#92;Software&amp;#92;Microsoft&amp;#92;Fusion&amp;#33;EnableLog&amp;#93;.&amp;#10;&amp;#9;C&amp;#58;&amp;#92;Documents and Settings&amp;#92;FManibo&amp;#92;My Documents&amp;#92;Trainings&amp;#92;WCF REST&amp;#92;Lab 1&amp;#92;WCFRESTTraining&amp;#92;NBehavePoC&amp;#92;NBehavePoC.Test&amp;#92;NBehavePoC.Test.csproj&amp;#9;79&amp;#9;5&amp;#9;NBehavePoC.Test&amp;#10;&amp;#10;I am also getting this error, and I need to restart VS and rebuild again without the NBehaveTask, reattach and rebuild.</description><author>fmanibo</author><pubDate>Wed, 12 Oct 2011 07:38:44 GMT</pubDate><guid isPermaLink="false">New Comment on "MSBuildTask" 20111012073844A</guid></item></channel></rss>