File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 2
2
3
3
> For the latest versions of xUnit version see: https://www.nuget.org/packages/SignalR.UnitTestingSupport.xUnit
4
4
5
+ > For the latest versions of MSTest version see: https://www.nuget.org/packages/SignalR.UnitTestingSupport.MSTest/
6
+
5
7
> For full docs see: https://github.com/NightAngell/SignalR_UnitTestingSupport/wiki
6
8
# How to install
7
9
#### 1. Using Visual Studio Nuget Package Manager
8
10
> If you dont know how install nuget via Visual Studio see this: https://www.youtube.com/watch?v=jX5HlrerIos
9
11
```
10
12
SignalR.UnitTestingSupport.NUnit
11
13
SignalR.UnitTestingSupport.xUnit
14
+ SignalR.UnitTestingSupport.MSTest
12
15
```
13
16
#### 2. Using Packet Manager Console
14
17
```
15
18
Install-Package SignalR.UnitTestingSupport.NUnit -Version 1.0.1
16
19
Install-Package SignalR.UnitTestingSupport.xUnit -Version 1.0.0
20
+ Install-Package SignalR.UnitTestingSupport.MSTest -Version 1.0.0
17
21
```
18
22
#### 3. Using .Net CLI
19
23
```
20
24
dotnet add package SignalR.UnitTestingSupport.NUnit --version 1.0.1
21
25
dotnet add package SignalR.UnitTestingSupport.xUnit --version 1.0.0
26
+ dotnet add package SignalR.UnitTestingSupport.MSTest --version 1.0.0
22
27
```
23
28
## Important!
24
29
Install ``` NUnit3TestAdapter ``` nuget for visual studio testing with NUnit in visual studio. https://www.nuget.org/packages/NUnit3TestAdapter/
25
30
26
31
Install ``` xunit.runner.visualstudio ``` nuget for visual studio testing with xUnit. https://www.nuget.org/packages/xunit.runner.visualstudio/
27
32
33
+ Install ``` MSTest.TestAdapter ``` nuget for visual studio testing with MSTest.
34
+ https://www.nuget.org/packages/MSTest.TestAdapter/
35
+
28
36
# How to use
29
37
After you add nuget to your test project, SignalR_UnitTestingSupport is ready to use.
30
38
Create test class for hub for example:
You can’t perform that action at this time.
0 commit comments