Beginner Question: Jenkins and Visual Studio tests

59 views
Skip to first unread message

Christoph M

unread,
Nov 5, 2014, 2:48:44 AM11/5/14
to jenkins...@googlegroups.com
Hello everyone,

I'm currently having a Visual Studio 2013 test solution which is runned "by hand". Now I want to use jenkins for running this tests. 

How can I do this? I've already searched in the internet and tried some suggestions, but the tutorials are not the best ones.

I've tried something with MSBuild, but this one seems to build the solution, but the tests are not runned as I want it. Also I've tried dhe VSConsole-Tool, but this may be only shipped with Visual Studio?

Which tools do I need to install on the server? I don't want to install VS on this server, btw.

Thank you in advance!

Greetings

jpd4nt

unread,
Nov 5, 2014, 11:15:09 AM11/5/14
to jenkins...@googlegroups.com
Hi.

From the look you can only run VSTests in Visual Studio, or rip the msi out of Visual Studio installer

Otherwise you are going to have to install Visual Studio on the server as that how VSTests work.


Rob D

unread,
Nov 5, 2014, 3:27:55 PM11/5/14
to jenkins...@googlegroups.com
Christoph,

I am also new to Jenkins and at the point of running tests on a Visual Studio project. I'm not sure what you mean by running the tests by hand. I am running unit tests and have found the VSTestRunner plugin useful there. However it does not display the test results. I am still trying to figure out how to do that. 

As jpd4nt says, if you want to run tests using vstestrunner, you will need to install Visual Studio.

Slide

unread,
Nov 5, 2014, 4:39:04 PM11/5/14
to jenkins...@googlegroups.com
Will mstest not work? There is a plugin for mstest, I use it in my builds.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Rob Davis

unread,
Nov 5, 2014, 4:53:43 PM11/5/14
to jenkins...@googlegroups.com
Mstest could work too, if it does what you want. Here is a comparison chart between it and vstestrunner. Look for "Choose and configure a test runner".

--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/E71G05G8q5c/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-use...@googlegroups.com.

Sebok, Marton

unread,
Nov 6, 2014, 3:47:30 AM11/6/14
to jenkins...@googlegroups.com

Hello!

 

You will need to install at least Agents for Microsoft Visual Studio 2013  (http://www.microsoft.com/en-us/download/details.aspx?id=40750)
to run vstest.console

 

Bye

Marci

--

Christoph M

unread,
Nov 6, 2014, 12:25:29 PM11/6/14
to jenkins...@googlegroups.com, marton...@nuance.com
Hello,

thank you all for your help. I've installed Visual Studio  for test purposes and my tests are running well.

Does anybody know a visualisation plugin to display the results (runned by the vsconsole.exe)?
Reply all
Reply to author
Forward
0 new messages