Hello Rafael
Can you please be a little bit more specific where do you get stuck ?
You can execute nunit tests by calling nunit-console.exe feeding it the path to the dll you compiled:
nunit-console.exe Sample\bin\Debug\Sample.dll
...
ProcessModel: Default DomainUsage: Single
Execution Runtime: net-3.5
.F
Tests run: 1, Errors: 1, Failures: 0, Inconclusive: 0, Time: 0.874980639748968 seconds
Not run: 0, Invalid: 0, Ignored: 0, Skipped: 0
(sorry used old code, but you hopefully get the successfully passing tests
report will be found in the workspace directory:
TestResult.xml
so at a bare minimum you can run it in batch or in a powershell build step.
There is nunit / junit result processing Jenkins plugins to integrate reports into the build status / statistics.
https://wiki.jenkins-ci.org/display/JENKINS/JUnit+Pluginhttps://wiki.jenkins-ci.org/display/JENKINS/NUnit+PluginThanks
Serguei Kouzmine