Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Should I commit .testsettings and .vsdmi files to the repository?

I usually don't commit unnecessary files, such as .user and .suo files, to the repository. I'm unsure about whether .testsettings and .vsdmi files are regenerated by Visual Studio if absent.

like image 847
Jader Dias Avatar asked Nov 01 '10 15:11

Jader Dias


People also ask

What is a Vsmdi file?

File created by Visual Studio, a program used by developers to create Windows applications; contains metadata for a testing project, including a list of tests and run configurations; used for running a suite of test cases, such as a collection of unit tests.

How do I create a Vsmdi file?

The . vsmdi file is created in 'Solution Items' sub folder right under your solution. Double click TestList. vsmdi and which brings up the 'Test List Editor' in Visual Studio.


2 Answers

Yes, you should commit those files as they contain Visual Studio unit testing and code coverage settings for the project.

like image 74
Darin Dimitrov Avatar answered Sep 22 '22 19:09

Darin Dimitrov


I found a contrary opinion while researching this. To be honest I'm a bit torn as the fellow in the link makes a good bit of sense.

EDIT: Updated link to archive.org version, as the original post seems to be dead.

like image 22
JasonCoder Avatar answered Sep 21 '22 19:09

JasonCoder