I want to check the test file into version control but I don't want to check in changes that only include test results. Couldn't the test results go somewhere else that can be put in an .ignore file?
2 comments
ADMIN
Valeri Hristov
Posted on:25 Aug 2016 07:57
You could safely ignore the whole .variables folder from source control. We save only temporary runtime files there, which are not needed to be under source control. If you use GIT, it is pretty straightforward to ignore the folder, in TFS is also doable, but more cumbersome. I am not sure about SVN or other SCMs, but I think it should not be a problem too.
We cannot entirely disable the .variables generation when you are using the UI to run the tests, because the files are used by the UI to display the runtime variables - both in the variables pane and in the HTTP Request Step's Last Response Data pane.
We thought about adding a application-level to redirect the .variables files in the Temp folder, but I am afraid we will not be able to implement it for the next release in September.
Mark
Posted on:24 Aug 2016 21:49
By test results, I mean the test runtime variables in the .variables file