Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Running NUnit tests written in C# with Jenkins on Linux

Tags:

c#

jenkins

nunit

Is it possible to run tests (written in C# with NUnit) with Jenkins on Linux OS?

I can find a lot of info on running NUnit tests with Jenkins but can't find any speak of my situation.

UPDATE

Looks like it's possible. I'll need to use a Master Jenkins in Linux to run a Slave Jenkins in Windows. Described in the article.

like image 467
Ray Cheng Avatar asked Nov 06 '12 16:11

Ray Cheng


People also ask

How do I run a NUnit test in C#?

Navigate to Tools -> NuGet Package Manager -> Manager NuGet Packages for Solution. Search for NUnit & NUnit Test Adapter in the Browse tab. Click on Install and press OK to confirm the installation. With this installation, the NUnit framework can be used with C#.

In which programming language is the NUnit framework written?

NUnit is a framework for automating unit testing in all.Net languages. Traditionally adapted from Junit, which is a Cross platform unit testing framework. It has been extensively rebuilt to take advantage of many.NET language capabilities and is written entirely in C#.

Do unit tests run in parallel C#?

Unit tests run one at a time. There is no parallelism.


1 Answers

Looks like it's possible. I'll need to use a Master Jenkins in Linux to run a Slave Jenkins in Windows. Described in the article.

like image 149
Ray Cheng Avatar answered Sep 27 '22 00:09

Ray Cheng