Skip to content

Commit 422882c

Browse files
committed
Docs: small change to listing type
1 parent 4e7e451 commit 422882c

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

docs/docs/getting-started/create-test-project.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,19 @@ Use the following command (_click on the tab that for the test framework you wou
2626

2727
# [xUnit](#tab/xunit)
2828

29-
```bash
29+
```dotnetcli
3030
dotnet new xunit -o <NAME OF TEST PROJECT>
3131
```
3232

3333
# [NUnit](#tab/nunit)
3434

35-
```bash
35+
```dotnetcli
3636
dotnet new nunit -o <NAME OF TEST PROJECT>
3737
```
3838

3939
# [MSTest](#tab/mstest)
4040

41-
```bash
41+
```dotnetcli
4242
dotnet new mstest -o <NAME OF TEST PROJECT>
4343
```
4444

@@ -52,22 +52,22 @@ To add bUnit to your test project, first change to the newly created test projec
5252

5353
# [xUnit](#tab/xunit)
5454

55-
```bash
55+
```dotnetcli
5656
cd <NAME OF PROJECT>
5757
dotnet add package bunit.web --version #{VERSION}#
5858
dotnet add package bunit.xunit --version #{VERSION}#
5959
```
6060

6161
# [NUnit](#tab/nunit)
6262

63-
```bash
63+
```dotnetcli
6464
cd <NAME OF PROJECT>
6565
dotnet add package bunit.web --version #{VERSION}#
6666
```
6767

6868
# [MSTest](#tab/mstest)
6969

70-
```bash
70+
```dotnetcli
7171
cd <NAME OF PROJECT>
7272
dotnet add package bunit.web --version #{VERSION}#
7373
```
@@ -97,7 +97,7 @@ To do so, change the first part of the test projects `.csproj` file to look like
9797

9898
Then you need to add your test project to your solution (`.sln`) and add a reference between your test project and component project:
9999

100-
```bash
100+
```dotnetcli
101101
dotnet sln <NAME OF PROJECT>.sln add <NAME OF TEST PROJECT>
102102
dotnet add <NAME OF COMPONENT PROJECT>.csproj reference <NAME OF TEST PROJECT>.csproj
103103
```
@@ -200,15 +200,15 @@ These steps look like this from the `dotnet` CLI:
200200

201201
Install the template from NuGet using this command:
202202

203-
```bash
203+
```dotnetcli
204204
dotnet new --install bunit.template::#{VERSION}#
205205
```
206206

207207
**2. Create a new test project**
208208

209209
Use the following command to create a bUnit with xUnit test project:
210210

211-
```bash
211+
```dotnetcli
212212
dotnet new bunit -o <NAME OF TEST PROJECT>
213213
```
214214

@@ -218,7 +218,7 @@ where `-o <NAME OF PROJECT>` is used to name the test project.
218218

219219
Then you need to add your test project to your solution (`.sln`) and add a reference between your test project and component project:
220220

221-
```bash
221+
```dotnetcli
222222
dotnet sln <NAME OF PROJECT>.sln add <NAME OF TEST PROJECT>
223223
dotnet add <NAME OF COMPONENT PROJECT>.csproj reference <NAME OF TEST PROJECT>.csproj
224224
```

0 commit comments

Comments
 (0)