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?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.