Comments (5)
I completely understand the rationale. Fixing stuff that feels wrong is what major versions are there for. I'll try to ensure the xmlunit-nunit3-constraints library is going to work with NUnit 4.x as well and create a nunit4 one if that is necessary. Right now that doesn't seem to be the case as the libraries really only provide new Constraints..
Thank you!
from nunit.
It was done as part of a huge effort to make the library honor nullability, and also clean up some practices. The property should be read-only with the implemented class defining the value. I believe that was the reason. @manfred-brands , can you add to this ?
And sure, it should be listed.
Actually we might have some more of these, so thanks for alerting us on this one!
from nunit.
@OsirisTerje Yes this was done for nullability changes. The previous design relied on a derived class calling the protected setter which could not be guaranteed. It was either marking the property as nullable and add lots of tests on null or make it virtual and non-nullable. . As it is used in places like: Left.Description + " and " + Right.Description
I choose for the latter.
For the same reason a change was made in the PrefixConstraint
. Instead of relying on a derived class setting the DescriptionPrefix
this now must be passed in to the PrefixContraint
constructor.
from nunit.
Thanks @manfred-brands ! That added some more context to it.
@bodewig We'll add it to the release notes :-)
from nunit.
Fixing with PR nunit/docs#916
from nunit.
Related Issues (20)
- Question: Namespace Level Parallelization HOT 1
- Support for the new test runner HOT 3
- Can you please give us back `Assert.IsNotNull`, `Assert.IsFalse` etc.? HOT 9
- TimeoutAttribute causes context in TearDown to have incorrect info. HOT 4
- Patch-Release 4.0.2 HOT 5
- Implement API for composable and reusable test setups HOT 2
- Remove link in readme to the google discuss group, it's spammed.
- Generic TestCase and TestCaseParameter support
- NUnit publish plugin for Jenkins doesn't create attachments file HOT 3
- CollectionAssert (mis)handling of IList implementation HOT 8
- System.Net.Sockets.SocketException : An existing connection was forcibly closed by the remote host --SocketException HOT 10
- `ValueTask` is not being properly consumed by the `AwaitAdapter` HOT 4
- Non-static TestCaseSource/ValueSource HOT 1
- Nunit 4 VsCode .Net 8 HOT 10
- Switch to using MacOS 14 in GitHub Actions
- Switch back to using macos-latest after latest becomes MacOS 14 HOT 3
- After upgrade from version 3.14.0 to 4.* running multiple test categories in parentheses separated with 'OR' stopped working HOT 3
- Additional Test Events for OneTimeSetUp / OneTimeTearDown HOT 20
- Allow specific tests to not run in parallel with each other but to run in parallel with other tests HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nunit.