How to mock a IFormFile for a unit/integration test in ASP.NET Core 1 MVC 6?
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, which is the new upload standard for ASP.NET Core...
Aucun commentaire:
Enregistrer un commentaire