3

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?

J D
  • 48,105
  • 13
  • 171
  • 274
  • This is a pretty broad question and you've tagged it with both C# and F#. I think this is a question more suited to programmers.stackexchange.com – Onorio Catenacci Feb 13 '12 at 16:25

1 Answers1

4

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.

Stephen Swensen
  • 22,107
  • 9
  • 81
  • 136