SwensenSoftware / unquote

Write F# unit test assertions as quoted expressions, get step-by-step failure messages for free
http://www.swensensoftware.com/unquote
Apache License 2.0
285 stars 26 forks source link

Expecto Support #127

Closed fbehrens closed 7 years ago

fbehrens commented 7 years ago

@haf forked Fuchu and renamed it to Expecto, in order to enhance functionality.

Would be nice to get it supported by unqoute.

It should be straightforwardly added to https://github.com/SwensenSoftware/unquote/blob/master/Unquote/Assertions.fs#L77

I created a VerifyExpectoSupport project https://github.com/fbehrens/unquote/commit/f8f8fbf672c41a48da46a7472440986443c88d96 , but wouldered why it detected fuchu Integration

[13:49:55 INF] EXPECTO? Running tests...
[13:49:56 ERR] test expecto support, this should fail with clean stack trace errored in 00:00:00.2350286
Fuchu.AssertException:

22 + 2 = 5
24 = 5
false

   at Test.Swensen.Unquote.VerifyExpectoSupport.expectoTests@7.Invoke(Unit _arg1) in C:\scripts2\unquote\VerifyExpectoSupport\Program.fs:line 7 
   at Expecto.Impl.evalTestList@308-1.Invoke(Tuple`2 tupledArg)
[13:49:56 INF] EXPECTO! 0 tests run in 00:00:00.2603532 - 0 passed, 0 ignored, 0
 failed, 1 errored.
Press any key to continue . . .

anyone ?

fbehrens commented 7 years ago

I created a pull request #128

stephen-swensen commented 7 years ago

This was implemented by https://github.com/SwensenSoftware/unquote/pull/128 . I've been slow to get out a release, working on it tonight.