fsprojects / FSharp.Configuration

The FSharp.Configuration project contains type providers for the configuration of .NET projects.
http://fsprojects.github.io/FSharp.Configuration/
Other
114 stars 63 forks source link

Optional string type inference in YamlConfigProvider #115

Closed vasily-kirichenko closed 7 years ago

vasily-kirichenko commented 7 years ago

FAKE cannot find xUnit test runner:

Running build failed.
Error:
System.Exception: Start of process E:\github\FSharp.Configuration\tools\xUnit\xunit.console.clr4.exe failed. The system cannot find the file specified
   at Fake.ProcessHelper.ExecProcessWithLambdas@91-16.Invoke(String message) in C:\code\fake\src\app\FakeLib\ProcessHelper.fs:line 91
   at Fake.ProcessHelper.ExecProcessWithLambdas(FSharpFunc`2 configProcessStartInfoF, TimeSpan timeOut, Boolean silent, FSharpFunc`2 errorF, FSharpFunc`2 messageF) in C:\code\fake\src\app\FakeLib\ProcessHelper.fs:line 91
   at Fake.Testing.XUnit.runXUnitForOneAssembly(XUnitParams parameters, String assembly) in C:\code\fake\src\app\FakeLib\UnitTest\XUnit\XUnit.fs:line 125
   at Fake.Testing.XUnit.xUnit@199.Invoke(String a) in C:\code\fake\src\app\FakeLib\UnitTest\XUnit\XUnit.fs:line 199
   at Microsoft.FSharp.Collections.IEnumerator.map@111.DoMoveNext(b& )
   at Microsoft.FSharp.Collections.IEnumerator.MapEnumerator`1.System-Collections-IEnumerator-MoveNext()
   at Microsoft.FSharp.Collections.IEnumerator.map@111.DoMoveNext(b& )
   at Microsoft.FSharp.Collections.IEnumerator.MapEnumerator`1.System-Collections-IEnumerator-MoveNext()
   at Microsoft.FSharp.Collections.IEnumerator.choose@202.System-Collections-IEnumerator-MoveNext()
   at Microsoft.FSharp.Collections.SeqModule.ToList[T](IEnumerable`1 source)
   at Fake.Testing.XUnit.ResultHandling.failBuildIfXUnitReportedErrors@114-4.Invoke(IEnumerable`1 x) in C:\code\fake\src\app\FakeLib\UnitTest\XUnit\XUnit.fs:line 114
   at Fake.Testing.XUnit.xUnit(FSharpFunc`2 setParams, IEnumerable`1 assemblies) in C:\code\fake\src\app\FakeLib\UnitTest\XUnit\XUnit.fs:line 201
   at FSI_0005.Build.clo@134-8.Invoke(Unit _arg5)
   at Fake.TargetHelper.runSingleTarget(TargetTemplate`1 target) in C:\code\fake\src\app\FakeLib\TargetHelper.fs:line 626

I'll port all the tests to Expecto soon.

sergey-tihon commented 7 years ago

Seems like you also under-use the power of last parameter of Expect.equal actual expected "bla-bla". I thought that I am the only one who do not know what to write instead of "bla-bla".

Maybe it is good time to create FsUnit.Expecto that remove last param 😄