Skip to content

[pull] master from nunit:master#204

Open
pull[bot] wants to merge 89 commits intoherebebeasties:masterfrom
nunit:master
Open

[pull] master from nunit:master#204
pull[bot] wants to merge 89 commits intoherebebeasties:masterfrom
nunit:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Jan 22, 2024

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

soerenmuehlbauer and others added 4 commits January 18, 2024 17:17
- Replace Dispatcher.Run with PushFrame as Dispatcher.Run needs to exit all frames to return properly which causes issues if there is already a outer frame running
chore: Refer to global.json for SDK version
@pull pull Bot added the ⤵️ pull label Jan 22, 2024
OsirisTerje and others added 25 commits January 23, 2024 19:41
Add support for DateTime comparison with TimeSpan tolerance
Make builds deterministic with ContinuousIntegrationBuild flag
Switch to using license expression
* updating packages

* Update packages and fix warnings

* Fixing PR comments

* Fixed more warnings

* Undo changes to NUnit.Analyzer PackageReference

* Remove/Move some NUnit suppression

This as a result of updating the version of the NUnit.Analyzer

* Undo changes to CodeStyle package reference

---------

Co-authored-by: Manfred Brands <manfred-brands@users.noreply.github.com>
* Initial implementation of TestCase with TypeArgs

* Respond to feedback

* TestCaseSource support + tests

* Make it fail when TypeArgs omitted

* Fix type issues in expected failure test. Rely on nunit API to determine if it fails to run

---------

Co-authored-by: Terje Sandstrom <terje@hermit.no>
* Added myget publish workflow/action.

* Update name

* Namechange

* Fix modifier

* fix mod 2

* Using minver

* Update cmd

* fix cake script error

* more script error fixes

* cake version issues

* minver version fixed

* a small change

* getting all history for minver to work with

* Setting minor version to increment after RTM tag. We're working towards new minor version by default.

* Changed name of CI build.
mithileshz and others added 28 commits March 25, 2024 19:25
* Remove need for casts when using ConstraintExpression.Append

* Fix nullability of StringContraint.Matches

* Add `WhiteSpace` Constraint

* Add support for `.IgnoreWhiteSpace` modifier

to:
- AnyOfConstraint
- CollectionItemsEqualConstaint
- ContainsConstraint
- EqualConstraint
- UniqueItemsConstraint

Updates to Clip String
Requires individual clipping when white-space is ignored.
We then also need to show two different ^ to indicate the mismatched
location.

* Code review changes

* Make it clear that what the extra size is for when creating StringBuilder
Increment by 'Actual bytes read' rather than the buffer size in StreamsComparer.cs
…ue (fix CS8604) (#4689)

* Permit DictionaryContainsKeyValuePairConstraint to take in a null value, matching the nullability of DictionaryEntry.

* Fix up nullability of DictionaryContainsValueConstraint to permit `object?` instead of `object`.

* Add some basic tests that null values can be found in dictionaries by DictionaryContains(Key)ValueConstraint.

* Update DictionaryContainsKeyValueConstraintTests.cs to use [TestCase] instead of [Theory].

* Update DictionaryContainsValueConstraintTests.cs to replace use of [Theory] with [TestCase].

---------

Co-authored-by: Andrew McClement <andrew.mcclement@aveva.com>
* Enabling extension of events

* Adding new types as templates, or base classes

* Fixing comments from Manfred.

* Fix SA1001

* Fix comment

* Fix dispose issue

* Fixed suggested changes.
* Add "matching items" to message

* Add unit test to cover "no matching items" use-case
#4712)

* PropertiesComparer: Show actual property and value that fails equality

* Simplify code to remove null checks on _failurePoints
Although milliseconds is the natural unit for an `int` delay, specifying can still be helpful just to be sure.
* Fixes Issue #4705

* Delete src/src.sln

* Changed to using conditionals in the directory.build.props and adjusted csprojs and assemblyinfo.cs files accordingly.

* Adding caketest

* Update src/NUnitFramework/framework/nunit.framework.csproj

Co-authored-by: Manfred Brands <manfred-brands@users.noreply.github.com>

* Update src/NUnitFramework/nunit.framework.legacy/nunit.framework.legacy.csproj

Co-authored-by: Manfred Brands <manfred-brands@users.noreply.github.com>

* Update src/NUnitFramework/nunitlite/nunitlite.csproj

Co-authored-by: Manfred Brands <manfred-brands@users.noreply.github.com>

* updated files and directory.build.props

* commented out Choose, didnt work, in directory.build.props

* Updated some tests, fixing nullrefs

* reverted formatting

* fix compiler warnings/errors

* updated cake

* Raise Error when compiling for a TargetFramework with no AssemblyConfiguration

.NET 7.0 is out of support as of May 14th 2024.

* Fixed null suppressions

* Moved cake scripts to its own project and loaded the code into the build.cake

* Fix null

* Fix more minor stuff

* Fix SA warnings

* Using same file and assembly version numbers, same as we have done earlier

* Final review changes

* Fetch tags in CI

* Updated to cake 4. Get a warnign about other cake tools like minver, raised a PR there too, but the warning can be safely ignored for now

* Now we can use AsSpan in CakeScript

---------

Co-authored-by: Manfred Brands <manfred-brands@users.noreply.github.com>
…apshot

Apply test output from timedout tests on non-threadabort platforms
Ensure we always have a version number
* Improve speed of Randomizer.GetString

* Rename fields.

* Use Span<char>

* Use method group.

* PR feedback
…4729)

* Add clearer documentation to custom comparers, fill testing holes.

* PR feedback

* PR feedback
@OsirisTerje OsirisTerje deleted the branch herebebeasties:master July 10, 2024 17:37
@OsirisTerje OsirisTerje deleted the master branch July 10, 2024 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.