Using MSTest in an open source project

2019-06-07 23:41发布

A colleague and I are writing an application that we intend to go Open Source with and are trying to decide on a testing framework. Without integration of NUnit (one of us has resharper while the other does not) we are leaning toward MSTest. However, if the majority of people that work on opensource .net applications only have the express edition of Visual Studio, we may have to change our mind on that.

What version of VS do you use and would MSTest turn you off to an Open Source Project?

10条回答
贪生不怕死
2楼-- · 2019-06-08 00:24
forever°为你锁心
3楼-- · 2019-06-08 00:25

Even Microsoft's open source code (Prism/Composite Wpf) doesn't use MSTest. They use NUnit for that project, I believe.

查看更多
Viruses.
4楼-- · 2019-06-08 00:30

I use VS 2k8 pro & MSTest as much as possible.

查看更多
The star\"
5楼-- · 2019-06-08 00:33

Personally, I'm using VS:TS, so no, test units in MSTest wouldn't turn anything off for me ;), on the other hand, most probably, you will receive different answers from the majority of people, that are not professional programmers as well (working for money doesn't mean you can not work with / on OS projects) (the question is, how many you will find here).
However, if I understand you correctly, you don't want to use nUnit, because you it's not integrated with VS08, you might then check out these projects:
1. http://sourceforge.net/projects/visualnunit/
2. http://sourceforge.net/projects/nunitaddin/
Integrating NUnit with VS08 doesn't seem to the biggest problem, on the other hand, getting VS with built in testing framework might be a bit harder, at least for some people.

查看更多
太酷不给撩
6楼-- · 2019-06-08 00:33

If I truly felt strongly enough to participate in the Open Source project, MSTest alone wouldn't be enough to turn me away. I'd be willing to adapt to whatever the development tools/environment was.

...and for what it's worth, I use the full version of Visual Studio with Resharper.

查看更多
在下西门庆
7楼-- · 2019-06-08 00:34

Frankly I never heared of anyone using the Express editions. everybody I know or I talked with either use the fully fledged Visual Studio environment, or they use the compiler/libraries from the free SDK and some editor on top of it (CodeWarrior, CodeInsight etc) and rely on some variant of make to build.

As for the test framework, is a double edged sword. I'd recommend NUnit, but then... remember what happened with NDoc?

查看更多
登录 后发表回答