Skip to content

Instantly share code, notes, and snippets.

@DanTup
Created October 6, 2013 18:53
Show Gist options
  • 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>[email protected](Tuple`2 tupledArg)
at [email protected](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>[email protected](Unit unitVar)
at System.Lazy`1.CreateValue()
at System.Lazy`1.LazyInitValue()
at System.Lazy`1.get_Value()
at <StartupCode$TickSpec>[email protected]()
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