@simoncropp In Verify is there a way to force the extension of the files to be `.json` instead of `.txt` so I get syntax highlighting in the diff viewers? #dotnet#VerifyTests
@simoncropp@romanx I always want a folder named `Snapshots` in the same directory as the source file that contains the test. This seems to work. Is it the right way to do it?
@bitbonk@romanx not exactly. eventually "snapshot" would be resolve to a full path, which would use the environments current directory. and that might be inconsistent in CI. so you should be doing a getdirectory on the sourcefile parameter. and combining that with "snapshot". but given your scenario, i added a new feature that should make it easier for you https://github.com/VerifyTests/Verify/blob/main/docs/naming.md#usesourcefilerelativedirectory u will need to update your verify ref
Verify/docs/naming.md at main · VerifyTests/Verify
Verify is a snapshot tool that simplifies the assertion of complex data models and documents. - VerifyTests/Verify