阅读背景:

如何在ASP.NET Core 1 MVC 6中为单元/集成测试模拟IFormFile?

来源:互联网 

I want to write tests for uploading of files in ASP.NET Core 1 but can't seem to find a nice way to mock/instanciate an object derived from IFormFile. Any suggestions on how to do this? I want to write tests for uploading of files in




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: