简体   繁体   中英

Which version of VS should I install to allow unit testing on the build server?

Since a few weeks we have our first TFS (2013) setup. The setup is rather small and there are only a handful (read: 10) developers that will have to work with it for the time being. It was setup as a "test" to see if it fits within our organisation.

Now, we'd also like to test the build server functionality. We've configured the build server and enabled a single agent. The MSDN then states that "You must install on the build agent the version of Visual Studio that your team uses on its dev machines." ( http://msdn.microsoft.com/en-us/library/bb399135.aspx ).

This sounds pretty straight forward, just install the Visual Studio version we use to dev with (VS Premium 2013). We are however pretty tight on the amount of licenses we can give out. So would VS Express suffice? Or is VS Premium really needed for automated unit testing (MS Test, not NUnit)? And if VS Premium is needed, which license should be used to activate it? By "which license" I mean, would a developer MSDN license work? We have a silver MS partnership and every developer has their own MSDN subscriber account.

Disclaimer: This is my very first question, so please excuse me if I've broken any of the rules.

You are allowed to install Visual Studio on the build server without an additional license.

Using Visual Studio on the Build Server

If you have one or more licensed users of Visual Studio Ultimate with MSDN, Visual Studio Premium with MSDN, or Visual Studio Professional with MSDN, then you may also install the Visual Studio software as part of Team Foundation Server 2013 Build Services. This way, you do not need to purchase a Visual Studio license to cover the running of Visual Studio on the build server for each person whose actions initiate a build.

Visual Studio and MSDN Licensing White Paper

On our team, we don't actually have VS installed on our build server and are able to compile code and run unit tests, but you'll probably find it pretty straightforward to just install the 'highest' version of VS that your team has a license to just to keep it simple and not waste any time tracking down any issues.

For some more details, a similar question was asked recently

Consider to Visual Studio Compare I would recommend you Premium or Test Professional (or Ultimate ). If you want the use automated GUI-tests like CodedUI you need Premium or higher anyway. Professional will be enough when you need only Unit-Tests.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM