In Test>Options, I unchecked "Discover tests in real time from C# and Visual Basic .NET source files". This made the tests stop appearing in Test Explorer. Test Explorer was still showing a count of warnings, but I think at this point it became 1. "Tests" output still listed the same...
(Element Name) is not supported in a windows presentation foundation (WPF) project. (MVVM) - How To Bind to DataContext from ContextMenu within DataTemplate [C#] IP Address Validation in WPF [ERROR] Specified Visual is already a child of another Visual or the root of a CompositionTarget [MS...
I am trying to run my xUnit unit tests usingvstest.console.exe, but no tests are found. I am usingvstest.console.exefrom Visual Studio 2015, found in this location: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\ Microsoft\TestWindow Command run: vstest...
Rather, running the tests in a build and release system such as Visual Studio Team Services (VSTS) provides a number of key benefits - including scheduling these to run in a nightly batch, using a pool of machines to distribute the tests so the test run can complete sooner, leveraging Azur...
Describes how to limit the number of test runs that Visual Studio stores. The purpose of limiting the number of stored test runs is to conserve disk space. Test Deployment Provides links to topics that describe how tests are deployed before they are run, how to configure test deployment, and...
I recently added a new test project to an existing solution to add unit tests and when I tried to run the first test the test runner window opened, the solution build completed and then nothing. The tests all just sit in the Pending state and nothing further happens. VS main window is ...
One of my tests allocates a bit of memory, and it appears that when one of my variables goes out of scope, the test never completes. Looks like code is stuck in “HeapFree”, or is taking a very long time (have waited more than ten minutes), to return. In Releas...
Applying category in different test frameworks Visual Studio unit tests (C#) Applying category to a test method: [TestMethod, TestCategory("A")] public void TestA() { } xUnit.net (C#) Applying category to a test method: [Fact, Trait("Category", "A")] public void MyTest() { } ...
Visual Studio already has a precedent for this, too, with tests: Note that there's not menu option to "Start Tests With Debugger" or "Start Tests Without Debugger" because that's completely unnecessary. Help Future Developers Ok so why do I care, and why should you? My personal mission ...
How to configure Visual Studio Code to run an external shell command passing the current file as an argument. Great for running tests!