Skip to content

Commit 7f4882d

Browse files
linkdotnetbUnitBot
authored andcommitted
feat: Merge bunit.core and bunit.web to bunit
1 parent d6b8547 commit 7f4882d

262 files changed

Lines changed: 151 additions & 489 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Directory.Build.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
</PropertyGroup>
4242

4343
<!-- Treat warnings as errors are always on when building in release -->
44-
<PropertyGroup Condition="'$(Configuration)' == 'Release' AND $(MSBuildProjectName) != 'bunit.template' AND $(MSBuildProjectName) != 'bunit'">
44+
<PropertyGroup Condition="'$(Configuration)' == 'Release' AND $(MSBuildProjectName) != 'bunit.template'">
4545
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
4646
</PropertyGroup>
4747

@@ -52,7 +52,7 @@
5252
</ItemGroup>
5353

5454
<ItemGroup Label="Implicit usings"
55-
Condition="$(MSBuildProjectName) != 'bunit.template' AND $(MSBuildProjectName) != 'bunit' AND $(MSBuildProjectName) != 'AngleSharpWrappers.Tests'">
55+
Condition="$(MSBuildProjectName) != 'bunit.template' AND $(MSBuildProjectName) != 'AngleSharpWrappers.Tests'">
5656
<Using Include="Microsoft.AspNetCore.Components" />
5757
<Using Include="Microsoft.AspNetCore.Components.RenderTree" />
5858
<Using Include="Microsoft.AspNetCore.Components.Rendering" />

MIGRATION.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,7 @@ public static class Extensions
2121
return loggerFactory.CreateLogger<T>();
2222
}
2323
}
24-
```
24+
```
25+
26+
## Merge of `bunit.core` and `bunit.web`
27+
The `bunit.core` and `bunit.web` packages have been merged into a single `bunit` package. If you used either of these packages, you should remove them and install the `bunit` package instead.

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[![GitHub tag](https://img.shields.io/github/v/tag/bUnit-dev/bUnit?include_prereleases&logo=github&style=flat-square)](https://github.com/bUnit-dev/bUnit/releases)
2-
[![Nuget](https://img.shields.io/nuget/dt/bunit.core?logo=nuget&style=flat-square)](https://www.nuget.org/packages/bunit/)
2+
[![Nuget](https://img.shields.io/nuget/dt/bunit?logo=nuget&style=flat-square)](https://www.nuget.org/packages/bunit/)
33
[![Issues Open](https://img.shields.io/github/issues/bUnit-dev/bUnit.svg?style=flat-square&logo=github)](https://github.com/bUnit-dev/bUnit/issues)
44

55
# bUnit - a testing library for Blazor components
@@ -29,9 +29,7 @@ bUnit is available on NuGet in various incarnations. Most should just pick the [
2929

3030
| Name | Description | NuGet Download Link |
3131
| ----- | ----- | ---- |
32-
| [bUnit](https://www.nuget.org/packages/bunit/) | Includes the bUnit.core and bUnit.web packages. | [![Nuget](https://img.shields.io/nuget/dt/bunit?logo=nuget&style=flat-square)](https://www.nuget.org/packages/bunit/) |
33-
| [bUnit.core](https://www.nuget.org/packages/bunit.core/) | Core library that enables rendering a Blazor component in a test context. | [![Nuget](https://img.shields.io/nuget/dt/bunit.core?logo=nuget&style=flat-square)](https://www.nuget.org/packages/bunit.core/) |
34-
| [bUnit.web](https://www.nuget.org/packages/bunit.web/) | Adds support for testing Blazor components for the web. This includes bUnit.core. | [![Nuget](https://img.shields.io/nuget/dt/bunit.web?logo=nuget&style=flat-square)](https://www.nuget.org/packages/bunit.web/) |
32+
| [bUnit](https://www.nuget.org/packages/bunit/) | Adds support for testing Blazor components. | [![Nuget](https://img.shields.io/nuget/dt/bunit?logo=nuget&style=flat-square)](https://www.nuget.org/packages/bunit/) |
3533
| [bUnit.template](https://www.nuget.org/packages/bunit.template/) | Template, which currently creates xUnit-based bUnit test projects only. | [![Nuget](https://img.shields.io/nuget/dt/bunit.template?logo=nuget&style=flat-square)](https://www.nuget.org/packages/bunit.template/) |
3634
| [bUnit.generators](https://www.nuget.org/packages/bunit.generators/)|Source code generators to minimize code setup in various situations.|[![Nuget](https://img.shields.io/nuget/dt/bunit.generators?logo=nuget&style=flat-square)](https://www.nuget.org/packages/bunit.generators/)|
3735
| [bUnit.web.query](https://www.nuget.org/packages/bunit.web.query/)|bUnit implementation of testing-library.com's query APIs.|[![Nuget](https://img.shields.io/nuget/dt/bunit.web.query?logo=nuget&style=flat-square)](https://www.nuget.org/packages/bunit.web.query/)|

benchmark/Directory.Build.props

Lines changed: 0 additions & 14 deletions
This file was deleted.

benchmark/bunit.benchmarks.assets/Counter.razor

Lines changed: 0 additions & 21 deletions
This file was deleted.

benchmark/bunit.benchmarks.assets/bunit.benchmarks.assets.csproj

Lines changed: 0 additions & 18 deletions
This file was deleted.

benchmark/bunit.benchmarks/Benchmark.cs

Lines changed: 0 additions & 14 deletions
This file was deleted.

benchmark/bunit.benchmarks/BenchmarkBase.cs

Lines changed: 0 additions & 47 deletions
This file was deleted.

benchmark/bunit.benchmarks/Program.cs

Lines changed: 0 additions & 6 deletions
This file was deleted.

benchmark/bunit.benchmarks/bunit.benchmarks.csproj

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)