177 questions
0
votes
0
answers
9
views
Test explorer missing single test iterations when path to data is changed
When i use this combination for reaching to .csv file with test data,
`
[PictCsvDataSource(
typeof(ActivePartDataRow),
"..\\..\\UITestsResources\\AngieIntegration\\ActivePart\\ActivePart\\...
1
vote
0
answers
48
views
How to see Google test output from a remote machine in the test explorer instead of the terminal in VSCode
Currently I am able to run Google-Tests in VSCode and see the results in terminal panel. I want to know how, if at all, can I see those results in the test-explorer?
In my current setup on Ubuntu-20....
0
votes
2
answers
509
views
VS code test explorer keeps running after test end
I'm using VS code with playwright to build a TAS. I have found VS code's test explorer tool ver useful. However after recently updating VS code, the test explorer has broken.
After all my tests have ...
0
votes
1
answer
243
views
Exporting Test results from Test Explorer Window in Visual Studio 2022
Is there a way to export the test results that appear in the Test Explorer Window? I know a test results file is created for each test run, but the test explorer window gives me a full picture (for ...
2
votes
2
answers
253
views
.NET Core xUnit Test output messages show up as Warnings on test explorer in VS 2022
On .NET Core 8 with xUnit (Abstractions version 2.0) when we write test output to the TestOutputHelper, every line that's written to the output - see screenshot (1) - counts as a "Warning", ...
0
votes
1
answer
56
views
SpecFlow test execution order in VS Test Explorer
In my feature file I have 1 scenario outline with two examples that creates two teams. These teams are preconditions to two other scenarios: one deletes the empty team and one adds a user to a team. ...
0
votes
1
answer
151
views
C# Dev Kit - dotnet Test Explorer - No such File
I am relatively new to dotnet development. I am setting us my VSCode environment and attempting to use the C# Dev Kit to run tests within a project I am in. The project can run dotnet restore/test etc,...
1
vote
0
answers
21
views
VS Test Explorer allways starts discovering tests using standard testadapter
I've written a testadapter by implementing ITestExecutor and ITestDiscoverer:
public class MyDiscoverer : ITestDiscoverer
{
public void DiscoverTests(IEnumerable<string> sources, ...
1
vote
1
answer
34
views
What does the animated bar in Visual Studio Test Explorer indicate?
In Visual Studio's Test Explorer window, there is a an animated bar that moves left to right. What does this indicate? Intuitively it feels like it should be indicating that tests are running, but ...
0
votes
1
answer
121
views
How to identify unasscoiated NUnit tests from Azure Test Plans test cases?
Is there a way to identify which NUnit tests are not associated with a test case from within Test Explorer in Visual Studio?
I want to identify new tests that have been added by the team and ensure ...
0
votes
1
answer
836
views
VScode Mocha Test Explorer: Worker Error: No test files found: {}
Trying to load/run tests from VScode with Mocha Test Explorer, but it fails with a mocha error while loading my tests.
I added this to settings.json
"mochaExplorer.mochaPath": "/...
0
votes
1
answer
929
views
VS Code [angular] karma test debug breakpoints only work once or twice without restarting VS code
I have been using VS code to debug my Angular jasmine karma tests for a while but I have always had a problem whereby after debugging a test several times the breakpoints stop working. I have to ...
1
vote
2
answers
426
views
TestExplorer missing single test data entries when using DynamicData with complex types
When I use the [DynamicData] attribute to provide an enumeration of primitve values, e.g. int, then the Visual Studio Test Explorer shows one test for each value provided via dynamic data:
public ...
8
votes
2
answers
5k
views
Visual Studio 2022 - Test Explorer says Test run finished but tests are not executed
I am upgrading to VS2022 from VS2019. We had some 1000+ test cases already written which we are able to execute on VS2017 and VS2019 but when I open the project in VS2022, test cases do not run. It ...
0
votes
0
answers
97
views
How do you define a conditional inline menu contribution point for a Test Explorer view?
I'm working on a VS Code extension that leverages the Text Explorer view. Tests are added to the list, and a standard set of inline menu commands exist for each test. I'm trying to change this so that ...