346 questions with Visual Studio Testing tags

Sort by: Updated
1 answer

VS 2022 Shims, Stubs, Fakes fail to build

Just upgraded from VS 2012 Pro to VS 2022 Enterprise. Previously functioning Shims, Stubs and Accessors all fail to be created. ("not declared/defined")

Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
346 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,033 questions
asked 2022-10-17T19:31:05.803+00:00
Robert Hull 6 Reputation points
commented 2022-10-19T13:52:18.287+00:00
Michael Taylor 53,726 Reputation points
0 answers

VSTS WebTest : Fetching Passwords from Azure Key Vault

Hi Experts, In our project we have been asked to not to use test data files (linked with webtests) to store login passwords, instead use Azure Key Vault to ensure enhanced protection of Azure AD passwords. Please let us know if anyone has come across…

Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
346 questions
asked 2022-10-18T15:23:53.593+00:00
navjot sidhu 1 Reputation point
commented 2022-10-19T07:21:22.61+00:00
Tianyu Sun-MSFT 30,346 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

Microsoft.CodeCoverage.Console.exe don't use my runsettings correctly with Google Test

Hello, I have a full C++ code that is tested with Google test. I generate a code coverage with VS 2022 with the Microsoft.CodeCoverage.Console.exe. The converage works well but I don't manage how to use the runsettings file to filter…

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,690 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
346 questions
asked 2022-09-29T12:20:35.627+00:00
julian lalu 21 Reputation points
accepted 2022-10-18T14:26:40.067+00:00
julian lalu 21 Reputation points
2 answers One of the answers was accepted by the question author.

Handling of System.Text.Json

I'm currently using Visual Studio Professional 2015. I installed "System.Text.Json" and its accompanying "System.ValueTuple", "System.Threading.Tasks.Extensions", etc. with the NuGet package manager. System.Text.Json…

Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
346 questions
asked 2022-10-12T09:14:45.71+00:00
岩佐渡 21 Reputation points
accepted 2022-10-18T04:16:02.91+00:00
岩佐渡 21 Reputation points
3 answers One of the answers was accepted by the question author.

Azure Load Testing: adding the user.properties file doesn't work

Jmeter has a property file 'user.properties' in which properties can be set and loaded only when jmeter starts up, so not possible to set properties inside a jmx file. I need to add a property for adding extra customized columns in the csv logfile. …

Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
346 questions
asked 2022-05-13T13:07:01.413+00:00
Rogiers Benny (BROGIERS) 21 Reputation points
answered 2022-10-14T20:17:26.783+00:00
Manoj Sarathy Partha Sarathy (INFOSYS LIMITED) 1 Reputation point Microsoft Vendor
1 answer

SSIS Unit Tests

Hi, is there any ready-to-use framework or tool to allow doing unit testing for SSIS projects? I went through some sites where they talk about SSISTester (even a doc from MS dated 2013) but it seems that this tool is not maintained and is broken. I…

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,564 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
346 questions
asked 2022-09-21T12:06:40.697+00:00
Salam 26 Reputation points
commented 2022-10-07T08:10:33.817+00:00
Tianyu Sun-MSFT 30,346 Reputation points Microsoft Vendor
1 answer

Migrating CodedUi to APPIUM

I am from Automation testing team. We subscribed Enterprise Edition for Visual Studio and used CodedUI for automation in our project. As CodedUI is reached its end of life, we are planning to migrate to Appium. Is there any alternative way to…

Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
346 questions
asked 2022-10-06T11:43:40.423+00:00
PONNALA Divya 21 Reputation points
answered 2022-10-06T13:57:24.437+00:00
Tianyu Sun-MSFT 30,346 Reputation points Microsoft Vendor
2 answers

Inconsistent behavior of C# CompareTo()

I'm writing a sorting algorithm in C#. The algorithm is written in one project (call it the "Sort project"). I've built another project (call it the "Scratch project") to use as a baseline to compare the results of CompareTo(). I get…

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,842 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,152 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
987 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
346 questions
asked 2022-09-21T02:32:43.86+00:00
Bob 1 Reputation point
answered 2022-10-01T04:10:34.713+00:00
Bob 1 Reputation point
0 answers

Is there a service for either the Test Explorer or the Test Results?

Many aspects of Visual Studio can be accessed as a service from an extension (as seen here), however I was unable to determine if that was also true for the Test Explorer and/or the Test Results systems. Simply I wish to load test results from an…

Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
346 questions
asked 2022-09-21T19:03:37.163+00:00
Alex Wouters 6 Reputation points
commented 2022-09-22T21:42:12.467+00:00
Alex Wouters 6 Reputation points
0 answers

vtest.console.exe does not find any C++ test in test project Visual Studio 2022 (did in 2019)

I have a solution of 52 projects mixed with C#, MFC and C++/CLI working with Visual Studio 2019. Recently I retargeted it to Visual Studio 2022 and moved all C++ projects to C++20. This solution has two test projects: one .NET only and a second one (the…

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,690 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
346 questions
asked 2022-09-13T14:04:03.73+00:00
RFOG 1 Reputation point
commented 2022-09-19T13:40:10.95+00:00
Anna Xiu-MSFT 28,661 Reputation points Microsoft Vendor
0 answers

Receiving an error when tried to Copy Paste a folder within the Test Plan using MTM 2017

Hi I am receiving the below error when i tried to copy paste a folder within the Test Plan using Microsoft Test Manager 2017.

Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
346 questions
asked 2022-02-28T21:12:58.797+00:00
Veena Mohan 1 Reputation point
commented 2022-09-16T05:45:28.917+00:00
Tianyu Sun-MSFT 30,346 Reputation points Microsoft Vendor
0 answers

GENERATEFAKES of MS Fakes fails with CS1705 sporadically

I posted this already on Stackoverflow, I am not sure if you guys will notice it there so I post it also here. On my machine the unit test project build fails since a few days but not every time. On the machine of my colleague it fails also sometimes but…

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,842 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
346 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
38,676 questions
asked 2022-08-27T13:04:08.057+00:00
Christian Fahrenholz 1 Reputation point
commented 2022-09-06T08:29:35.953+00:00
Tianyu Sun-MSFT 30,346 Reputation points Microsoft Vendor
0 answers

test manager error (team foundation server not available)

I was working on test manager 2015 then it stopped working and error as attached.. what shall I do? thanks in advance

Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
346 questions
asked 2022-08-24T11:49:06.043+00:00
Rana Mohamed 1 Reputation point
commented 2022-08-25T08:01:11.187+00:00
Tianyu Sun-MSFT 30,346 Reputation points Microsoft Vendor
2 answers

Unable to add "Adobe PDF Reader" or "Windows Media Player"in my solution.

I am trying to create a project (using Visual Studios 2022) which will access a PDF file and also want to play a video using windows media player, however i'm unable to add "Adobe PDF Reader" control and "Windows media player" control…

Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
346 questions
asked 2022-08-17T12:07:50.833+00:00
Ankur Vora 6 Reputation points
commented 2022-08-19T07:53:20.37+00:00
Anna Xiu-MSFT 28,661 Reputation points Microsoft Vendor
0 answers

Microsoft.TestPlatform.Utilities.dll is causing an issue of "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')" in Sonar Qube Code Analysis

We have a test project which is having the Microsoft.TestPlatform.Utilities.dll and this dll is causing an issue of "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')" while run the code in Sonar Qube Code Analysis.…

Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
346 questions
asked 2022-08-18T06:13:01.56+00:00
Varun Kumar 1 Reputation point
commented 2022-08-19T05:17:25.127+00:00
Varun Kumar 1 Reputation point
5 answers

Unable to create Pod .Please provide Solution for this error .

I created sample Web Application and published it to ACR.When i tried creating deployment it errored with following Message Error: failed to create containerd container: mount callback failed on /var/lib/containerd/tmpmounts/containerd-mount732009033:…

Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
346 questions
asked 2021-04-27T19:19:09.993+00:00
Razia Sulthana B 6 Reputation points
answered 2022-08-12T14:09:19.413+00:00
Joe O'Brien 1 Reputation point
1 answer

How to bug template in Microsoft test Mananger?

In My Organisation, the project uses a bug template and it loads automatically inside the web version Azure DevOps (https://dev.azure.com/) with some prefilled mandatory information while creating a new bug How this bug template can be…

Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
346 questions
asked 2022-08-09T13:43:39.857+00:00
RAKESH SURESH 1 Reputation point
answered 2022-08-09T15:01:27.16+00:00
Michael Taylor 53,726 Reputation points
1 answer

Exam Credit?

My school has said that they have an agreement for a free examination with Microsoft, but I cannot access it? They stated "Welcome Aaron, we’re working together with the Microsoft Partner Network and Microsoft IT Academies to bring you a world-class…

Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
346 questions
asked 2022-08-09T02:47:21.37+00:00
Deviller,Aaron 1 Reputation point
answered 2022-08-09T02:50:03.99+00:00
Dillon Silzer 57,231 Reputation points
2 answers

How to see output of HTML directly in visual studio 2019 pro

Dear sir At present I am learning HTML by using visual studio pro 2019. Here each time when I type text /code in HTML in visual studio pro then for viewing its output I have to open web browser like google chrome. Kindly tell me how can I see its…

Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
346 questions
asked 2020-10-30T06:26:19.053+00:00
Madhab Mitra 1 Reputation point
commented 2022-08-08T18:43:23.633+00:00
david sierra 1 Reputation point
1 answer

UnitTest not running

Hi, I'm using Microsoft Visual Studio Community 2019 Version 16.11.8 I created a C# Windows Forms-App (.NET Framework) and now trying to add a UnitTest for it. For the beginning I tryed the first steps from tutorials in the Internet: Add new…

Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
346 questions
asked 2022-08-04T19:33:02.387+00:00
Robertos123 1 Reputation point
answered 2022-08-08T13:35:33.613+00:00
Robertos123 1 Reputation point