vanderkleij / Smocks

Smocks is a library for mocking the normally unmockable. It can mock static and non-virtual methods and properties, amongst others.
MIT License
114 stars 26 forks source link

async/await support? #22

Open andrelmp opened 8 years ago

andrelmp commented 8 years ago

it would be interesting support async / await to be possible to test methods like this

Smock.Run(async context =>
{
    await target.Run();
}    
vanderkleij commented 8 years ago

Hi, thanks for the suggestion. This should be fairly straightforward to add, so I will definitely consider this for a future version.