Hello. I want to unit test SignalR using Moq but I can't find any Microsoft documentation for the new SignalR for Aspnet.core. I can find only documentation for old Signalr (docs).
Is there any documentation to how to moq this and write unit tests? Only I can find is this:
link.
A doc request for unit testing ASP.NET Core SignalR has been created on Github, you can leave a comment to update it with your requirement/request. And if you can subscribe this issue, you would receive notifications once document/ASP.NET Core SignalR team
or other community members share any update on this topic.
.NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today.
Member
1 Points
2 Posts
Unit testing SignalR for .NET Core.
Nov 06, 2019 05:43 PM|Kyrylo Yavorenko|LINK
Hello. I want to unit test SignalR using Moq but I can't find any Microsoft documentation for the new SignalR for Aspnet.core. I can find only documentation for old Signalr (docs).
Is there any documentation to how to moq this and write unit tests? Only I can find is this: link.
Thank you!
All-Star
40565 Points
6233 Posts
Microsoft
Re: Unit testing SignalR for .NET Core.
Nov 07, 2019 02:56 AM|Fei Han - MSFT|LINK
Hi Kyrylo,
A doc request for unit testing ASP.NET Core SignalR has been created on Github, you can leave a comment to update it with your requirement/request. And if you can subscribe this issue, you would receive notifications once document/ASP.NET Core SignalR team or other community members share any update on this topic.
https://github.com/aspnet/AspNetCore.Docs/issues/11052
With Regards,
Fei Han