If your Jenkins agent is running as a service, then that may cause
different behaviors if your tests depend on interacting with a user
interface (like Selenium tests, or web browser driven tests).

If your Jenkins agent is running as a different user, and your tests depend
on a specific user, that could cause different behavior in Jenkins than in
the user environment.

If your Jenkins agent is running on a different Windows version and your
tests have Windows version requirements, that could cause failures.

Mark Waite

On Tue, Jul 18, 2017 at 5:05 AM Simon Whale <[email protected]> wrote:

> Hi,
>
> I am wondering if someone can help.  I have setup Jenkins to run Unit
> Tests.  Our application currently has 289 tests.
>
> If I run it through Jenkins only 89 pass.  But If I run it through VS 2010
> 247 pass.
>
> Is there something that I should be doing in Jenkins?
>
> This is how I have configured the Execute Windows batch command in the
> build settings for the project.
>
> "C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\mstest.exe"
> /resultsfile:"%WORKSPACE%\Brian\Results.trx" /testcontainer:"C:\Program
> Files\Jenkins\workspace\Brian -
> Freestyle\Brian\trunk\BrianTestProject\bin\x86\Debug\BrianTestProject.dll"
> /nologo
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/c5fc26e9-a2d7-48d2-a8e3-b561e2524547%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/c5fc26e9-a2d7-48d2-a8e3-b561e2524547%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtG0cUfRgOO%2BBOYN2XZ9z6AMtWQdtp_cbi2Bi-KJk5h%3D0A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to