Releases: bUnit-dev/bUnit
Releases · bUnit-dev/bUnit
1.20.8
Added
- Added static
DefaultWaitTimeoutproperty toTestContextto enable overriding the default timeout of "wait for" methods likeWaitForAssertionfrom 1 second to something else. By @egil.
Fixed
- TestRenderer throws
ObjectDisposedExceptionif any methods is accessed after it has been disposed. It will also prevent changes to the internal render tree after it has been disposed. By @egil.
1.19.14
Fixed
- Custom elements with attributes throw
ArgumentExceptionwithMarkupMatches. Reported by @candritzky. Fixed by @linkdotnet.
Changed
- Changed test renderer such that updates to rendered components markup happen in the same synchronization context as the test framework is using (if any), if any, to avoid memory race conditions. By @egil.
1.18.4
Fixed
- Some characters where not properly escaped. Reported by @pwhe23. Fixed by @linkdotnet.
- Clicking a submit button or submit input element inside a form, submits the form, if the submit button or submit input element does not have the
@onclick:preventDefaultattribute set. Reported by @linkdotnet. Fixed by @egil.
1.17.2
- Submit buttons and input fields now no longer cause a form submit when they have the
@onclick:preventDefaultattribute. By @JelleHissink.
1.16.2
- Changed semantic comparer to handle elements parsed outside their proper context, e.g. an
<path>element parsed without being inside a<svg>element. The semantic comparer will now be able to treat those as regular elements and thus be able to compare correctly to other elements of the same type and with the same node name. By @egil.
1.15.5
- Upgrade AngleSharp.Diffing to 0.17.1
1.14.4
Added
- Added
IMemoryCacheby default to the Services container. By @linkdotnet.
Fixed
- Added support in
FakeNavigationManagerto handle umlauts. - Fixed a bug where attribute values did not get escaped. Reported by @brettwinters. Fixed by @linkdotnet.
1.13.5
This release contains a bunch of small tweaks and fixes.
1.12.6
Fixed
- The created HTML contained encoded strings. Reported by @tobiasbrandstaedter. Fixed by @linkdotnet.
1.11.7
Added
- Added the
StateFromJsonmethod to theNavigationHistorytype, to make it easy to deserialize navigation state stored as JSON during a call toNavigationManager.NavigateTo, e.g. as seen with the newInteractiveRequestOptionstype available in .NET 7. By @linkdotnet and @egil.