Skip to content

Instantly share code, notes, and snippets.

@DanTup
Created October 6, 2013 18:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DanTup/6857618 to your computer and use it in GitHub Desktop.
Save DanTup/6857618 to your computer and use it in GitHub Desktop.
let [<Given>] ``something`` () = ()
let [<Given>] ``something else`` () = ()
---
Scenario: TestStuff
Given something
and something else
----
Test Name: YourFeature
Test FullName: TickSpec.Features.YourFeature
Test Source: M:\Coding\FSharpTickSpecTests\Tests\Tests\TickFact.fs : line 57
Test Outcome: Failed
Test Duration: 0:00:00.025
Result Message: TickSpec.StepException : Ambiguous step definition on line 5
Result StackTrace:
at <StartupCode$TickSpec>.$TickSpec.fail@61[a](ScenarioSource scenario, LineSource line, String e)
at TickSpec.StepDefinitions.resolveLine(String feature, ScenarioSource scenario, StepType step, LineSource line)
at <StartupCode$TickSpec>.$TickSpec.lines@195-1.Invoke(Tuple`2 tupledArg)
at Microsoft.FSharp.Collections.IEnumerator.map@109.DoMoveNext(b& )
at Microsoft.FSharp.Collections.IEnumerator.MapEnumerator`1.System-Collections-IEnumerator-MoveNext()
at Microsoft.FSharp.Collections.SeqModule.ToArray[T](IEnumerable`1 source)
at <StartupCode$TickSpec>.$TickSpec.genType@192(StepDefinitions this, String feature, FeatureGen gen, ScenarioSource scenario)
at <StartupCode$TickSpec>.$TickSpec.t@203.Invoke(Unit unitVar)
at System.Lazy`1.CreateValue()
at System.Lazy`1.LazyInitValue()
at System.Lazy`1.get_Value()
at <StartupCode$TickSpec>.$TickSpec.createAction@204-1.Invoke()
at TickSpec.TickCommand.Xunit-Sdk-ITestCommand-Execute(Object testClass) in M:\Coding\FSharpTickSpecTests\Tests\Tests\TickFact.fs:line 15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment