Steven Weerdenburg

Results 49 issues of Steven Weerdenburg

As noted in https://github.com/nunit/nunit/pull/4035#issuecomment-1200160651 In https://github.com/nunit/nunit/pull/3464 we stopped using sourcelink in favour of distributing a debug build of the framework with embedded symbols + source, however it seems this can...

awaiting:discussion

Most of NUnit's numeric-related work (comparisons, differences, equality) is exposed via constraints or the classic assertion model, but the work itself is done by a helper class: [Numerics](https://github.com/nunit/nunit/blob/master/src/NUnitFramework/framework/Constraints/Numerics.cs). This helper...

pri:normal
good first issue
is:refactor
help wanted

ExactTypeConstraint and ExceptionTypeConstraint both check if variable is an exact instance of a type. The constraints each have a generic `ApplyTo(TActual actual)` function but the `expectedType` it compared to is...

Fixes #4053 Migrates: - #4034 - #4104 Relates to: - #4096 - #4107

Something I noticed today is that we store timeout intervals as an `int`. Newer .NET framework guidelines suggest instead using `TimeSpan` to disambiguate the represented time interval (seconds vs milliseconds)....

awaiting:discussion

PR #4034 added caching of method lookups. It was merged to 3.13, we should consider also syncing it to main/v4

StreamsComparer currently compares the bytes of two streams and reports on the index of the first difference. It does this by reading the streams 4096 bytes at a time into...

is:enhancement
good first issue

The codebase currently uses a mix of different approaches to do string comparisons: - StartWith / EndWith use culture aware no matter what - Equality / Uniqueness use culture aware...

awaiting:discussion

Something which has come up in PRs a few times recently is that the framework has a more lax editorconfig ruleset than the analyzers project (and potentially others??). It specifically...

awaiting:discussion

The arrays and enumerables comparer currently will iterate over and evaluate each item in an array independently and determine the comparer for each. I imagine most usages of this API...

is:enhancement