This project is read-only.

Running a NBehave test from the console

Nov 3, 2008 at 10:35 AM
I want to run all my NBehave tests (specs) from the console.  How do I do this?  I created a go.bat file that looks something like this...

C:\Users\laura\Documents\nant\nant-0.86-beta1-bin\nant-0.86-beta1\bin\NAnt.exe %*
my project executable is located at 

Do I need to use the NBehave.Bulid Cand change it??  I'm very new to NBehave and build scripts so if someone can help me out that would be amazing.


Nov 5, 2008 at 9:20 PM
The file is to build NBehave itself, simply run "go.bat". Then NBehave is built and the output is found in build\debug\nbehave
When you have created some stories you can run them from the console with "nbehave-console.exe TheDllWithStories.dll /storyOutput=stories.txt"
run "nbehave-console.exe" to se more options.