Info
Version: | 8.0.0 |
Author(s): | Mateusz Soboń (NightAngell) |
Last Update: | Friday, December 29, 2023 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/NightAngell/SignalR_UnitTestingSupport |
NuGet Url: | https://www.nuget.org/packages/AspNetCore.SignalR.UnitTestingSupport.Common |
Install
Install-Package AspNetCore.SignalR.UnitTestingSupport.Common
dotnet add package AspNetCore.SignalR.UnitTestingSupport.Common
paket add AspNetCore.SignalR.UnitTestingSupport.Common
AspNetCore.SignalR.UnitTestingSupport.Common Download (Unzip the "nupkg" after downloading)
Dependencies
- Microsoft.AspNetCore.SignalR.Core(>= 1.1.0)
- Microsoft.EntityFrameworkCore.InMemory(>= 2.2.6)
- Microsoft.EntityFrameworkCore.Sqlite(>= 2.2.6)
- Moq(>= 4.12.0)
Tags
If you want support for unit testing signalR core (Hub and IHubContext) use one of this packages (NUnit, xUnit, MsTest version):
https://www.nuget.org/packages/SignalR.UnitTestingSupport.NUnit,
https://www.nuget.org/packages/SignalR.UnitTestingSupport.xUnit,
https://www.nuget.org/packages/SignalR.UnitTestingSupport.MSTest
Or use it directly only if you use different testing framework. See:
https://github.com/NightAngell/SignalR_UnitTestingSupport/wiki/How-use-testing-support-if-you-don't-want-(or-you-can`t)-use-provided-by-me-base-classes-or-your-testing-framework-don't-support-before-and-after-each-test-code-execution-features
https://github.com/NightAngell/SignalR_UnitTestingSupport/wiki/How-implement-testing-support-for-different-than-NUnit,-xUnit-or-MsTest-Framework.