You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,11 +6,18 @@ All notable changes to **bUnit** will be documented in this file. The project ad
6
6
7
7
## [Unreleased]
8
8
9
+
### Added
10
+
- Support for `IKeyedServiceProvider` in net8.0. Reported by [@ViRuSTriNiTy](https://github.com/ViRuSTriNiTy). By [@linkdotnet](https://github.com/linkdotnet).
11
+
- Support for `net9.0`. NOTE, there is no commitment as of now to support net9.0 in bUnit v1. However. Support for net9.0 may move to a future v2 release of bUnit and be deprecated in v1. However, allowing bUnit to build and work with net9.0 previews allows our users to keep testing!
12
+
13
+
### Fixed
14
+
- Support for `SupplyFromQueryParameter` in net8.0. Reported by [@aayjaychan](https://github.com/aayjaychan). Fixed by [@egil](https://github.com/egil) and [@linkdotnet](https://github.com/linkdotnet).
15
+
9
16
## [1.26.64] - 2023-12-20
10
17
11
18
### Changed
12
19
13
-
- Upgraded AngleSharp to 1.0.7.
20
+
- Upgraded AngleSharp to 1.0.7. Info: The usage of `AngleSharpWrappers` is not needed anymore. Any usage of `Unwrap` should not be needed anymore.
Copy file name to clipboardExpand all lines: docs/site/docs/extensions/bunit-generators.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -82,3 +82,11 @@ internal partial class ThirdPartyStub { }
82
82
```
83
83
84
84
Current limitations of this approach is that he stubbed type is not allowed to be nested inside the test class.
85
+
86
+
## Reported Diagnostics
87
+
The generators will report a range of diagnostics to help understanding what issue is present. The following table shows the diagnostics that are reported.
88
+
89
+
| Diagnostic ID | Error | Severity | Description |
| BUNIT0001 | Stubbing nested classes ({0}) is not supported. | Warning | Types annotated with `ComponentStub` can not be nested inside another class. |
92
+
| BUNIT0002 | Class ({0}) is not partial. | Warning | Types annotated with `ComponentStub` must be partial. |
0 commit comments