Cédric Luthi

Results 124 issues of Cédric Luthi

Make sure that unit tests pass even after a fresh checkout

.NET Core 3.1, .NET 5.0 and .NET Framework 4.6.1 are all out of support now Replace them with .NET 6 (LTS) which will be supported [until November 12, 2024][1] and...

And fix all related warnings.

* Fix `TheRegistrationIndexResponseIsSortedByVersion` test The implicit conversion from the default DateTime to DateTimeOffset was throwing `System.ArgumentOutOfRangeException` > The UTC time represented when the offset is applied must be between year...

[PolySharp][1] provides generated, source-only polyfills for C# language features, to easily use all runtime-agnostic features downlevel. This replaces the need for the `Nullable` package and we can get rid of...

All the (Not)BeDecoratedWith methods were implemented for `MemberInfo` but implementing them for `ICustomAttributeProvider` instead allows for a _free_ `ParameterInfoAssertions` implementation. ## IMPORTANT * [ ] If the PR touches the...

enhancement

## What does this PR do? This pull request moves the logger configuration from the static `TestcontainersSettings` class to the AbstractBuilder class. Before: ```csharp TestcontainersSettings.Logger = logger; ``` After: ```csharp...

## What does this PR do? This pull request add assertions to all tests that call `ExecScriptAsync` asserting that no error was written to stderr. Adding these assertions found two...

## What does this PR do? This pull requests enables [code quality analysis](https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/overview#code-quality-analysis) and turns [CA2007: Do not directly await a Task](https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca2007) into an error. ## Why is it important?...

### Problem Shipping a default console logger that works with any .NET test framework has been dismissed as impossible to do by VSTest engineers in https://github.com/microsoft/vstest/issues/4125. Yet we'd still want...

enhancement