Questions tagged [live-unit-tests]

Questions about the Live Unit Testing feature of Visual Studio 2017 Enterprise Edition. Live Unit Testing automatically runs unit tests affected by edits to C# and Visual Basic source and displays test results and test coverage data alongside those edits.

The Live Unit Testing capability is only available in the Enterprise Edition of Visual Studio.

23 questions
0
votes
0 answers

Error running Live Unit Testing: Project files not found after adding projects to solution

I created a solution for easy development and template creation. I have a project called InfoinaDDD, which consists of 2 parts, one part is the source code and the other part is its tests. And I have another project called myTemplate, which is the…
arman
  • 649
  • 1
  • 10
  • 27
0
votes
0 answers

Visual Studio Live Unit Testing doesn't have option to "enable debug symbol"

I'm using Visual Studio 2022 17.4.0 to run the Live Unit Testing window using xUnit v2.4.2 tests with the xunit.runner.visualstudio v2.4.5. When looking at the following documentation, it claims that I should have a checkmark thats allows me to run…
Josh Mouch
  • 3,480
  • 1
  • 37
  • 34
0
votes
1 answer

Visual Studio 2019 unit tests missing in test explorer but show in live unit testing

I have a solution with about 3000 unit tests. The test appear and run under the "Live Unit Testing" window but under the "Test Explorer" none appear. They USED to but suddenly no longer appear in that window. This is Visual Studio 2019…
0
votes
1 answer

Visual Studio 2019 Live Unit Testing Crashes

I'm trying to use Live Unit Testing with my nUnit tests, but it crashes every time I start it. It crashes whether I start it manually or on solution load. I've restarted VS multiple times, reinstalled it, deleted the persisted data per this answer…
Scott Baker
  • 10,013
  • 17
  • 56
  • 102
0
votes
1 answer

Live unit testing stuck and cannot be stopped

Using Visual Studio 2017, with one of our solutions, live unit testing frequently gets stuck. In Test Explorer, it appears to be running tests (progress bar moving from left to right, "run" button is disabled), however, there is no "Cancel" button…
Alex W
  • 3,283
  • 1
  • 19
  • 25
0
votes
1 answer

Live Unit Testing doesn't copy over data file used by test

I have a test that loads and processes a .json file. The file is part of the project and marked as "copy always" so that it's present in the build directory of the test, and I have veryfied that this does work on manual test run. Live Unit Testing…
rzippo
  • 979
  • 12
  • 22
0
votes
1 answer

PyCharm doesn't appear to run all unit tests

I have a problem running unittests in pycharm. The first class 'KnownValues' runs but the other class doesn't get checked at all. import roman import unittest class KnownValues(unittest.TestCase): def test_too_large(self): '''to_roman…
Bl4ckC4t
  • 104
  • 1
  • 10
0
votes
1 answer

VS2017 throws Unknow Error after Live Unit Test set to start on a solution

I have installed VS2017 Enterprise. It was working fine with few of our existing solutions. Then I tried to enable Live Unit Test for one of the solutions and it crashed with Unknown Error. After that every attempt to launch Visual Studio (note: not…
azeemfraz
  • 1
  • 1
1
2