Skip to content

Commit 6dcf9fb

Browse files
Add section for mstest class
1 parent 762268d commit 6dcf9fb

File tree

2 files changed

+21
-3
lines changed

2 files changed

+21
-3
lines changed

docs/core/tools/dotnet-new-sdk-templates.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,24 @@ The ability to create a project for an earlier TFM depends on having that versio
199199

200200
***
201201

202+
## <a name="mstest-class"></a> `mstest-class`
203+
204+
- **`--fixture <FIXTURE>`**
205+
206+
The fixture kinds to include in the test project. The possible values are:
207+
208+
- `None` - No fixture methods.
209+
- `AssemblyInitialize` - AssemblyInitialize fixture method.
210+
- `AssemblyCleanup` - AssemblyCleanup fixture method.
211+
- `ClassInitialize` - ClassInitialize fixture method.
212+
- `ClassCleanup` - ClassCleanup fixture method.
213+
- `TestInitialize` - TestInitialize fixture method.
214+
- `TestCleanup` - TestCleanup fixture method.
215+
216+
Where multiple values are allowed.
217+
218+
***
219+
202220
## <a name="xunit"></a> `xunit`
203221

204222
- **`-f|--framework <FRAMEWORK>`**

includes/templates.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ The following table shows the templates that come pre-installed with the .NET SD
1111
| Windows Forms (WinForms) Application | [`winforms`](../docs/core/tools/dotnet-new-sdk-templates.md#winforms) | [C#], VB | Common/WinForms | 3.0 (5.0 for VB) |
1212
| Windows Forms (WinForms) Class library | [`winformslib`](../docs/core/tools/dotnet-new-sdk-templates.md#winforms) | [C#], VB | Common/WinForms | 3.0 (5.0 for VB) |
1313
| Worker Service | [`worker`](../docs/core/tools/dotnet-new-sdk-templates.md#web-others) | [C#] | Common/Worker/Web | 3.0 |
14-
| MSTest Test Project | [`mstest`](../docs/core/tools/dotnet-new-sdk-templates.md#mstest) | [C#], F#, VB | Test/MSTest | 1.0 |
15-
| MSTest Test Class | `mstest-class` | [C#], F#, VB | Test/MSTest | 1.0 |
14+
| MSTest Test Project | [`mstest`](../docs/core/tools/dotnet-new-sdk-templates.md#mstest) | [C#], F#, VB | Test/MSTest | 1.0 |
15+
| MSTest Test Class | [`mstest-class`] (../docs/core/tools/dotnet-new-sdk-templates.md#mstest-class) | [C#], F#, VB | Test/MSTest | 1.0 |
1616
| NUnit 3 Test Project | [`nunit`](../docs/core/tools/dotnet-new-sdk-templates.md#nunit) | [C#], F#, VB | Test/NUnit | 2.1.400 |
1717
| NUnit 3 Test Item | `nunit-test` | [C#], F#, VB | Test/NUnit | 2.2 |
18-
| xUnit Test Project | [`xunit`](../docs/core/tools/dotnet-new-sdk-templates.md#xunit) | [C#], F#, VB | Test/xUnit | 1.0 |
18+
| xUnit Test Project | [`xunit`](../docs/core/tools/dotnet-new-sdk-templates.md#xunit) | [C#], F#, VB | Test/xUnit | 1.0 |
1919
| Razor Component | `razorcomponent` | [C#] | Web/ASP.NET | 3.0 |
2020
| Razor Page | [`page`](../docs/core/tools/dotnet-new-sdk-templates.md#page) | [C#] | Web/ASP.NET | 2.0 |
2121
| MVC ViewImports | [`viewimports`](../docs/core/tools/dotnet-new-sdk-templates.md#namespace) | [C#] | Web/ASP.NET | 2.0 |

0 commit comments

Comments
 (0)