Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,11 @@ jobs:
with:
fetch-depth: 0 # Get all history to allow automatic versioning using MinVer

- name: Setup .NET
- name: ⚙️ Setup dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
9.0.x

- uses: actions/download-artifact@v4
with:
Expand Down
7 changes: 6 additions & 1 deletion src/bunit.template/template/.template.config/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"description": "The target framework sdk for the project.",
"displayName": "Target framework sdk",
"datatype": "choice",
"defaultValue": "net7.0",
"defaultValue": "net9.0",
"replaces": "targetSdk",
"choices": [
{
Expand All @@ -99,6 +99,11 @@
"choice": "net8.0",
"description": ".net 8.0",
"displayName": ".net 8.0"
},
{
"choice": "net9.0",
"description": ".net 9.0",
"displayName": ".net 9.0"
}
]
}
Expand Down
12 changes: 6 additions & 6 deletions src/bunit.template/template/Company.BlazorTests1.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,21 @@
</ItemGroup>

<ItemGroup Condition="'$(testFramework_xunit)' == 'true'">
<PackageReference Include="xunit" Version="2.9.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.4">
<PackageReference Include="xunit" Version="2.9.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
</ItemGroup>

<ItemGroup Condition="'$(testFramework_nunit)' == 'true'">
<PackageReference Include="NUnit" Version="3.14.0" />
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
<PackageReference Include="NUnit" Version="4.2.2" />
<PackageReference Include="NUnit3TestAdapter" Version="4.6.0" />
</ItemGroup>

<ItemGroup Condition="'$(testFramework_mstest)' == 'true'">
<PackageReference Include="MSTest.TestAdapter" Version="3.1.1" />
<PackageReference Include="MSTest.TestFramework" Version="3.1.1" />
<PackageReference Include="MSTest.TestAdapter" Version="3.6.2" />
<PackageReference Include="MSTest.TestFramework" Version="3.6.2" />
</ItemGroup>

</Project>