For the first time, I've added a MSTest project to my Visual Studio solution in order to do some unit testing. I wanted to commit the solution to our source code repository, but there are a bunch of new file types - I'm not sure whether to add them to the repository or not. Can you help me?
New files:
Thank you
You only will want to check in what you need for running the tests, e.g. for automated runs of your unit tests in a CI (Continuous Integration) environment or manually on a developer's machine. For that
are needed, otherwise MSTest will fail if running on a CI server (e.g. at least for Cruise Control running MSTest as a exec
task as part of a build) or silently generate those files (if running MSTest integrated with Visual Studio on a developer's box).
Actual historical test result data is not really useful for version control, especially if you are just interested in "all tests are green" - otherwise your build is broken anyway.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With