Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release of new minor version v1.25 #1272

Merged
merged 22 commits into from
Nov 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
b56e108
Set version to '1.25-preview'
bUnitBot Oct 14, 2023
3ee4983
Merge branch 'release/v1.24'
bUnitBot Oct 14, 2023
a5987a8
Merge branch 'stable'
bUnitBot Oct 14, 2023
5921d6d
build(deps): Bump xunit.assert from 2.5.2 to 2.5.3 (#1242)
dependabot[bot] Oct 21, 2023
30d2afb
build(deps): Bump xunit from 2.5.2 to 2.5.3 (#1241)
dependabot[bot] Oct 21, 2023
6f42eac
ci: run all tests at once with crash dumps enabled
egil Oct 21, 2023
45e3521
feat: add experimental bunit.web.query project
egil Oct 21, 2023
e2cf103
build(deps): Bump docfx from 2.70.0 to 2.72.1
dependabot[bot] Oct 30, 2023
d205d7d
build(deps): Bump xunit.assert from 2.5.3 to 2.6.0
dependabot[bot] Nov 1, 2023
6ab83ba
build(deps): Bump xunit from 2.5.3 to 2.6.0
dependabot[bot] Nov 1, 2023
1d0b78c
build(deps): Bump xunit from 2.6.0 to 2.6.1
dependabot[bot] Nov 3, 2023
d585ecc
build(deps): Bump xunit.assert from 2.6.0 to 2.6.1
dependabot[bot] Nov 3, 2023
aee4488
build(deps): Bump BenchmarkDotNet from 0.13.9 to 0.13.10
dependabot[bot] Nov 2, 2023
7d58d85
build(deps): Bump docfx from 2.72.1 to 2.73.1
dependabot[bot] Nov 7, 2023
4580d33
Merge branch 'stable'
bUnitBot Nov 13, 2023
3d9f9d9
build(deps): Bump Microsoft.NET.Test.Sdk from 17.7.2 to 17.8.0 (#1264)
dependabot[bot] Nov 13, 2023
788b72d
build(deps): Bump Serilog from 3.0.1 to 3.1.1 (#1267)
dependabot[bot] Nov 13, 2023
58dff26
build(deps): Bump Serilog.Expressions from 3.4.1 to 4.0.0 (#1265)
dependabot[bot] Nov 13, 2023
0db38a6
build(deps): Bump docfx from 2.73.1 to 2.73.2
dependabot[bot] Nov 13, 2023
100db52
build(deps): Bump System.Text.Json from 7.0.3 to 8.0.0 (#1270)
dependabot[bot] Nov 14, 2023
174b692
chore: Upgrade all .NET 8 preview dependencies to .NET 8 stable
egil Nov 14, 2023
74051c4
Set version to '1.25'
bUnitBot Nov 14, 2023
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
2 changes: 1 addition & 1 deletion .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
]
},
"docfx": {
"version": "2.70.0",
"version": "2.73.2",
"commands": [
"docfx"
]
Expand Down
11 changes: 4 additions & 7 deletions .github/workflows/verification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ concurrency:

env:
VSTEST_CONNECTION_TIMEOUT: 180
DOTNET_NOLOGO: "true"
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
DOTNET_NOLOGO: true

jobs:
verify-bunit:
Expand Down Expand Up @@ -66,12 +67,8 @@ jobs:
with:
files: '["docs/site/*.md", "docs/**/*.md", "docs/**/*.tmpl.partial", "*.csproj", "**/*.csproj"]'

- name: 🧪 Run unit tests (async)
run: |
dotnet test --filter Category!=sync -c release
- name: 🧪 Run unit tests (sync)
run: |
dotnet test --filter Category!=async -c release
- name: 🧪 Run unit tests
run: dotnet test -c release --blame --blame-crash --blame-hang

- name: 🧪 Run sample unit tests
run: dotnet test -c release docs/samples/samples.sln
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ All notable changes to **bUnit** will be documented in this file. The project ad

## [Unreleased]

- Upgrade all .NET 8 preview dependencies to .NET 8 stable.

## [1.24.10] - 2023-10-14

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<DotNet5Version>5.0.0</DotNet5Version>
<DotNet6Version>6.0.0</DotNet6Version>
<DotNet7Version>7.0.0</DotNet7Version>
<DotNet8Version>8.0.0-*</DotNet8Version>
<DotNet8Version>8.0.0</DotNet8Version>
</PropertyGroup>

<!-- Solution wide properties -->
Expand Down
2 changes: 1 addition & 1 deletion benchmark/bunit.benchmarks/bunit.benchmarks.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="BenchmarkDotNet" Version="0.13.9" />
<PackageReference Include="BenchmarkDotNet" Version="0.13.10" />
</ItemGroup>

<ItemGroup>
Expand Down
14 changes: 14 additions & 0 deletions bunit.sln
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "bunit.benchmarks.assets", "
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AngleSharpWrappers", "src\AngleSharpWrappers\AngleSharpWrappers.csproj", "{ABB3F046-0297-491A-9106-7948403BE0DE}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "bunit.web.query", "src\bunit.web.query\bunit.web.query.csproj", "{0FF92169-7D8F-46A2-8327-A2F028CB426F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "bunit.web.query.tests", "tests\bunit.web.query.tests\bunit.web.query.tests.csproj", "{DE975A0C-0672-4248-913E-D267C1001801}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -108,6 +112,14 @@ Global
{ABB3F046-0297-491A-9106-7948403BE0DE}.Debug|Any CPU.Build.0 = Debug|Any CPU
{ABB3F046-0297-491A-9106-7948403BE0DE}.Release|Any CPU.ActiveCfg = Release|Any CPU
{ABB3F046-0297-491A-9106-7948403BE0DE}.Release|Any CPU.Build.0 = Release|Any CPU
{0FF92169-7D8F-46A2-8327-A2F028CB426F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0FF92169-7D8F-46A2-8327-A2F028CB426F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0FF92169-7D8F-46A2-8327-A2F028CB426F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0FF92169-7D8F-46A2-8327-A2F028CB426F}.Release|Any CPU.Build.0 = Release|Any CPU
{DE975A0C-0672-4248-913E-D267C1001801}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DE975A0C-0672-4248-913E-D267C1001801}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DE975A0C-0672-4248-913E-D267C1001801}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DE975A0C-0672-4248-913E-D267C1001801}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand All @@ -123,6 +135,8 @@ Global
{9F7A0623-8294-4A5D-946F-70C481732AA5} = {F6084D31-2A92-4794-A47E-A8F2254E6970}
{3619481F-DF6F-4399-9FED-450EE545A19E} = {F6084D31-2A92-4794-A47E-A8F2254E6970}
{ABB3F046-0297-491A-9106-7948403BE0DE} = {9A2B3B34-D41C-43E8-BC7D-246BEBE48D59}
{0FF92169-7D8F-46A2-8327-A2F028CB426F} = {9A2B3B34-D41C-43E8-BC7D-246BEBE48D59}
{DE975A0C-0672-4248-913E-D267C1001801} = {6EA09ED4-B714-4E6F-B0E1-4D987F8AE520}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {24106918-1C86-4769-BDA6-9C80E64CD260}
Expand Down
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"sdk": {
"rollForward": "latestMajor",
"allowPrerelease": true
"allowPrerelease": false
}
}
47 changes: 47 additions & 0 deletions src/bunit.web.query/bunit.web.query.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.1;net5.0;net6.0;net7.0;net8.0</TargetFrameworks>
<RootNamespace>Bunit</RootNamespace>
<AssemblyName>Bunit.Web.Query</AssemblyName>
</PropertyGroup>

<PropertyGroup>
<PackageId>bunit.web.query</PackageId>
<Title>bunit.web.query</Title>
<Description>
bunit.web.query is an experimental package that provides an bUnit version of the https://testing-library.com/ APIs.
</Description>
</PropertyGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.1'">
<PackageReference Include="Microsoft.Extensions.Logging" Version="$(DotNet3Version)" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="$(DotNet3Version)" />
<PackageReference Include="Microsoft.AspNetCore.Components" Version="$(DotNet3Version)" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net5.0'">
<PackageReference Include="Microsoft.Extensions.Logging" Version="$(DotNet5Version)" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="$(DotNet5Version)" />
<PackageReference Include="Microsoft.AspNetCore.Components" Version="$(DotNet5Version)" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
<PackageReference Include="Microsoft.Extensions.Logging" Version="$(DotNet6Version)" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="$(DotNet6Version)" />
<PackageReference Include="Microsoft.AspNetCore.Components" Version="$(DotNet6Version)" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net7.0'">
<PackageReference Include="Microsoft.Extensions.Logging" Version="$(DotNet7Version)" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="$(DotNet7Version)" />
<PackageReference Include="Microsoft.AspNetCore.Components" Version="$(DotNet7Version)" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
<PackageReference Include="Microsoft.Extensions.Logging" Version="$(DotNet8Version)" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="$(DotNet8Version)" />
<PackageReference Include="Microsoft.AspNetCore.Components" Version="$(DotNet8Version)" />
</ItemGroup>

</Project>
3 changes: 2 additions & 1 deletion tests/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@
<Nullable>annotations</Nullable>
<IsPackable>false</IsPackable>
<SonarQubeTestProject>true</SonarQubeTestProject>
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="AutoFixture" Version="4.18.0" />
<PackageReference Include="AutoFixture.Xunit2" Version="4.18.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="NSubstitute" Version="5.1.0" />
<PackageReference Include="Shouldly" Version="4.2.1" />
<PackageReference Include="coverlet.msbuild" Version="6.0.0" PrivateAssets="All" />
Expand Down
2 changes: 1 addition & 1 deletion tests/bunit.core.tests/bunit.core.tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="xunit" Version="2.5.2" />
<PackageReference Include="xunit" Version="2.6.1" />
<!-- DO NOT UPGRADE TO versions > 2.4.5 as they do not support .net5 or older -->
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
<PrivateAssets>all</PrivateAssets>
Expand Down
8 changes: 4 additions & 4 deletions tests/bunit.testassets/bunit.testassets.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Serilog" Version="3.0.1" />
<PackageReference Include="Serilog.Expressions" Version="3.4.1" />
<PackageReference Include="Serilog" Version="3.1.1" />
<PackageReference Include="Serilog.Expressions" Version="4.0.0" />
<PackageReference Include="xunit.extensibility.execution" Version="2.5.2" />
<PackageReference Include="xunit.abstractions" Version="2.0.3" />
<PackageReference Include="xunit.assert" Version="2.5.2" />
<PackageReference Include="xunit.assert" Version="2.6.1" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.1'">
<PackageReference Include="Microsoft.Extensions.Localization.Abstractions" Version="$(DotNet3Version)" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="3.2.1" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Authentication" Version="3.2.1" />
<PackageReference Include="System.Text.Json" Version="7.0.3" />
<PackageReference Include="System.Text.Json" Version="8.0.0" />
<PackageReference Include="Serilog.Extensions.Logging" Version="3.1.0" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net5.0'">
Expand Down
26 changes: 26 additions & 0 deletions tests/bunit.web.query.tests/bunit.web.query.tests.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">

<PropertyGroup>
<TargetFrameworks>netcoreapp3.1;net5.0;net6.0;net7.0;net8.0</TargetFrameworks>
<RootNamespace>Bunit</RootNamespace>
<AssemblyName>Bunit.Web.Query.Tests</AssemblyName>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\..\src\bunit.core\bunit.core.csproj" />
<ProjectReference Include="..\..\src\bunit.web\bunit.web.csproj" />
<ProjectReference Include="..\..\src\bunit.web.query\bunit.web.query.csproj" />
<ProjectReference Include="..\bunit.testassets\bunit.testassets.csproj" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="xunit" Version="2.6.1" />
<!-- DO NOT UPGRADE TO versions > 2.4.5 as they do not support .net5 or older -->
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
<NoWarn>NU1701</NoWarn>
</PackageReference>
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion tests/bunit.web.tests/bunit.web.tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="xunit" Version="2.5.2" />
<PackageReference Include="xunit" Version="2.6.1" />
<!-- DO NOT UPGRADE TO versions > 2.4.5 as they do not support .net5 or older -->
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
<PrivateAssets>all</PrivateAssets>
Expand Down
2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/main/src/NerdBank.GitVersioning/version.schema.json",
"version": "1.24",
"version": "1.25",
"assemblyVersion": {
"precision": "revision"
},
Expand Down
Loading