Verify is a snapshot tool that simplifies the assertion of complex data models and documents.
2.47k
stars
138
forks
source link
Breaking: Respect NUnit class level parameters and drop support for custom TestName #1249
Closed
SimonCropp closed 1 month ago
Who is effected
TestFixture
TestCase.TestName
Changes:
No longer respect
TestFixture.TestName
and `TestCase.TestNameReasons
Respect fixture level parameters and ignore NUnit fixture name convention
Previoulsy fixture level parameters were properly not respected by Verify. Verify would rely on NUnit convention for the fixture name. For example
The NUnit fixture name would be
ClassLevelParams(1)
. While unique enough for the verified file it has several problemsTestFixture
parameters inconsistent withTestCase
parametersparamName=paramValue
Sample
Result
Before
After
Migration
After upgrading, the recommended approach is to treat the old verified files as Orphaned verified files.