Fails to find Steps by changing to uppercase

Aug 4, 2011 at 11:33 PM
Edited Aug 4, 2011 at 11:34 PM

I have a test which contains the line

Given a result scenarios run 2 run, 1 passed, 1 failed, 0 inconclusive, 0

 

 which parses and gives results

Given a result scenarios run 2 run, 1 passed, 1 failed, 0 inconclusive, 0 - PENDING

 

 

 

 But by changing the s of scenarios to Upper case

 Given a result Scenarios run 2 run, 1 passed, 1 failed, 0 inconclusive, 0

I get no more results than

Runtime Environment -
OS Version: Microsoft Windows NT 6.1.7601 Service Pack 1
CLR Version: 4.0.30319.235

Any suggestions?

 

 
Coordinator
Aug 5, 2011 at 6:17 AM

Which version of NBehave are you using?
When I run this step against 0.5.1.263 I get an ArgumentOutOfRangeException, If I run against the latest in the source the step is parsed correctly.

Aug 5, 2011 at 8:18 AM

Morgan,
I was using 0.5.1.263 and running as ctrl-f6 bound to EditorContextMenus.CodeWindow.RunScenario but it would either just stall or occasionally as Dr Watson event (that didn't kill VS). I sent a few of them to Microsoft. I'll try a build from the latest source too.

Coordinator
Aug 5, 2011 at 8:33 AM

I'm curious, are you trying to extend NBehave in some way?