Replies: 2 comments 1 reply
|
I'm not going through with this. For various reasons, I've needed to write my own testing framework, and anything Expecto could have offered is something I can easily implement as well. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Upon looking better into unit testing frameworks due to numerous frustrations, I found Expecto addresses numerous of the concerns I've had. Of particular note is integration of performance testing into the unit testing. It's incredibly tedious to maintain these separately. Furthermore, because this is an F# library, and we're developing in C# primarily with F# binding, testing through Expecto automatically tests the entire through-binding call-chain.
There are a few pitfalls but I'm not overly concerned with it.
this[Range]call and F# uses a very differentGetSlice(start, finish)call. While internally these both usesSlice(start, length)there's a degree of marshalling in both cases, and testing strictly through F# will not test the C# marshalling side. This issue still exists now, just in the opposite direction, as testing exclusively through C# avoids the F# binding and marshalling code. Both tests still need to be done, I'm just encouraging F# first.All reactions