TUnit
TUnit copied to clipboard
A modern, fast and flexible .NET testing framework
With and without optional parameters - This helps capture where generics cannot be inferred properly - It helps capture any methods that are ambiguous and conflict with each other -...
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [TUnit](https://redirect.github.com/thomhurst/TUnit) | nuget | patch | `0.1.793` -> `0.1.804` | --- ### Configuration...
I couldn't find anything in the [documentation](https://thomhurst.github.io/TUnit/docs/category/tutorial---assertions) with regards to the precedence between [AND](https://thomhurst.github.io/TUnit/docs/tutorial-assertions/and-conditions) and [OR](https://thomhurst.github.io/TUnit/docs/tutorial-assertions/or-conditions). Consider the following test: ```csharp [Test] public async Task And_Or_Precedence_Test() { char[] sut =...
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [TUnit](https://redirect.github.com/thomhurst/TUnit) | nuget | patch | `0.1.1010` -> `0.1.1033` | | [TUnit.Assertions](https://redirect.github.com/thomhurst/TUnit) |...
I think it would be a great idea to incorporate dynamic skip, similar to https://github.com/xunit/xunit/issues/2073, by adding the following methods: ``` Assert.Skip(string reason); Assert.SkipIf(bool condition, string reason); ``` which will...
I often have the issue that I want to assert in a test, that an exception was only thrown when a certain condition applies. Currently I have to introduce an...