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
Is there a possibility to run Verify checks in CI without file creation? Memorize received output and check with existing verified file contents?
#1374
Closed
blazkovicz opened this issue
Dec 19, 2024
· 3 comments
hi! Thanks for quick reaction! I created tests in my net project, using Verify.MSTest nuget package. İt creates .received files and checks against .verified files, all good. When we run tests in jenkins Cİ we don’t want any file creation there, just want actual snapshot contents to be checked on-the-fly against existing .verified file contents and to either succeed or fail with error. How to achieve that?
public static class ModuleInitializer
{
[ModuleInitializer]
public static void Init()
{
if (BuildServerDetector.Detected)
{
VerifierSettings.AutoVerify();
}
}
}
then u can run a script to push any changes back. here is how u woud do it in a github action
I did not find any correlating documentation on the matter. Please help!
We use C#, MSTest, Verify.MSTest
The text was updated successfully, but these errors were encountered: