You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently when using Verify for a set of data-driven tests I hit a problem when providing the UseParameters with the parameters of the test would cause the file name and path to be excessively long and cause problems on Windows.
Describe the solution
To work around this, I created a method that will take the parameters and generate a hash from them instead, since that will reduce the length of the file name, but also create something that is going to be consistent across test runs.
https://github.com/VerifyTests/Verify/blob/main/docs/parameterised.md#hashing-parameters
Recently when using Verify for a set of data-driven tests I hit a problem when providing the
UseParameters
with the parameters of the test would cause the file name and path to be excessively long and cause problems on Windows.Describe the solution
To work around this, I created a method that will take the parameters and generate a hash from them instead, since that will reduce the length of the file name, but also create something that is going to be consistent across test runs.
Additional context
The extension can be found here: https://github.com/Azure/data-api-builder/pull/1402/files#diff-0e9ff620b043280230cfc29acae2321e450546a8b2c86b3e8e3fa289a9b36a0f
The text was updated successfully, but these errors were encountered: