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
When running await VerifyChecks.Run();, it will throw out the following exception:
VerifyCheckException
Expected .gitIgnore to contain settings for Verify.
Path: file:///C:/Sources/<project>/.gitIgnore
Recommended settings:
# Verify
*.received.*
*.received/
I noticed that the convention VerifyChecks are run on the solution, instead of the corresponding test project.
It is not always possible to alter/create solution files.
In my case it was the .gitignore file.
To comply to the Source Control Includes/Excludes convention, I created a .gitignore file in the test project.
This works perfectly, as I only intent to have Verify run in this test project.
It does however throw above exception when running the VerifyChecks :(
Describe the solution
I hope the convention checks could be run both on the project and then on the solution.
Describe alternatives considered
Additional context
This is related to the EditorConfig & GitAttributes conventions checks too, as all of them are inherited files.
Note that the docs never say to apply the conventions to the solution, instead of the test project.
The text was updated successfully, but these errors were encountered:
Is the feature request related to a problem
When running
await VerifyChecks.Run();
, it will throw out the following exception:I noticed that the convention VerifyChecks are run on the solution, instead of the corresponding test project.
It is not always possible to alter/create solution files.
In my case it was the
.gitignore
file.To comply to the Source Control Includes/Excludes convention, I created a
.gitignore
file in the test project.This works perfectly, as I only intent to have Verify run in this test project.
It does however throw above exception when running the VerifyChecks :(
Describe the solution
I hope the convention checks could be run both on the project and then on the solution.
Describe alternatives considered
Additional context
This is related to the EditorConfig & GitAttributes conventions checks too, as all of them are inherited files.
Note that the docs never say to apply the conventions to the solution, instead of the test project.
The text was updated successfully, but these errors were encountered: