vstest.console.exe Questions

4

Solved

I'm trying to set up a C# project with the latest version of Visual Studio, 2022; this is with .Net 6 on Windows 10. It's a simple console program, and I've set up the project and a corresponding u...

9

I am attempting to move a solution from TFS 2012 to TFS 2018 SP2RC2 but I can't get the unit tests to run correctly. All projects have been re-targeted to 4.7.1 and are built as x86 platform. We ha...
Lineman asked 7/5, 2018 at 22:20

4

I am supposed to do an offline installation of vstest.console.exe in the folder path as follows: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TestWindo...
Heartstrings asked 20/8, 2018 at 2:56

3

I have VS 2017 and .net 4.6 On trying to run via cmd prompt using vstest.console: vstest.console.exe bin\Release\Tests.dll /UseVsixExtensions:true I am getting warning "No test is available in...
Coffman asked 28/11, 2017 at 19:0

1

Solved

When using the Microsoft.Data.SqlClient package (version 2.0) in my code I get the following error when Unit Tests are executed via VSTest.console.exe in our CI provider (and when ran locally): Sy...

2

Solved

According to my searches, it should "just work". This is the best article I found. I've followed the steps, but nowhere in the VSTS (Azure DevOps) interface does it indicate there are any screensho...
Gneiss asked 15/10, 2018 at 19:39

2

Solved

I'm trying to set up automated builds on my build agent using MSBuild on the command line. The two projects I'm focussed on at the moment are a UWP and it's associated unit test project. To build,...
Groschen asked 23/3, 2018 at 3:47

2

Solved

How to use .testsettings file running unit tests via vstest.console.exe? I created empty visual studio solution, created empty unit test project, added Local.testsettings file as a solution item. ...
Experientialism asked 10/4, 2018 at 16:2

2

Solved

I've configured a VSTS build job to build my MockingFrameworkExamples .NET 4.7.1 (C#) solution from GitHub. This solution includes five assemblies with NUnit v3.10 unit tests. I included a Visual ...
Torrential asked 20/7, 2018 at 5:41

1

Solved

I am creating a AppDomain using the below code String pa = @"C:\Users\user\AppData\Local\Temp\2\db5fjamk.xnl"; System.IO.Directory.CreateDirectory(pa); AppDomainSetup setup = new AppDomainSetup();...
Agbogla asked 7/3, 2018 at 19:44

1

Solved

I am trying to generate code coverage report using vstest.console.exe. I am also using .runsettings file and passing it as a parameter. Whatever I am trying to do, it generates a coverage report f...
Noisemaker asked 6/2, 2018 at 12:55

2

I have a UnitTests.dll, to which Common.dll is referenced (both built with VS2015). I have following directory structure: C:\Test\ - UnitTests.dll - UnitTests.runsettings C:\Bin\ - Common.dll...
Biochemistry asked 5/10, 2016 at 15:34

0

I'm trying to determine the considerations that should be made when writing tests that are going to run under vstest.console.exe. Example 1: Let's say that I have two tests both of which rely on M...
Sweatt asked 3/3, 2017 at 20:19

1

I have a Jenkins server running tests using vstest.console.exe. All of a sudden, between two builds with no change to the contents of the workspace, it is reporting that it is running in isolation ...
Pistoia asked 13/9, 2016 at 9:36
1

© 2022 - 2024 — McMap. All rights reserved.