Is there a possibility to run Verify checks in CI without file creation? Memorize received output and check with existing verified file contents? #1375
Replies: 5 comments 8 replies
-
sorry. i don’t understand what u r asking for |
Beta Was this translation helpful? Give feedback.
-
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? |
Beta Was this translation helpful? Give feedback.
-
enable AutoVerify on the build server:
then u can run a script to push any changes back. here is how u woud do it in a github action
|
Beta Was this translation helpful? Give feedback.
-
This autoverify does the opposite we want and we don't want anything to be pushed anywhere, of course |
Beta Was this translation helpful? Give feedback.
-
happy to consider a pull request that adds this feature |
Beta Was this translation helpful? Give feedback.
-
I did not find any correlating documentation on the matter. Please help!
We use C#, MSTest, Verify.MSTest
Beta Was this translation helpful? Give feedback.
All reactions