I would like to automatically instrument a .NET assembly so that calls to certain functions and the returned results are logged as a means of creating unit tests from whole system tests.
How might this be accomplished?
I would like to automatically instrument a .NET assembly so that calls to certain functions and the returned results are logged as a means of creating unit tests from whole system tests.
How might this be accomplished?
It sounds like you are describing Pex, which does support F# (though I've seen posts which indicate it sometimes gets confused with F# vs. C# or VB).
Actually, PostSharp sounds like it could be used to achieve something closer to what you are describing.