vscode-phpunit icon indicating copy to clipboard operation
vscode-phpunit copied to clipboard

Only running first test

Open tyler36 opened this issue 3 years ago • 1 comments

I've been using TestExplorer with PHPUnit TestExplorer for quite a while and recently started using the "useNativeTesting" option.

As of 1.59.0 however, TestExplorer with only run the first test when I click the "Run all tests" button. I can run all tests in a file or an individual test by click on the button in the test tree. If I disable "useNativeTesting", I can run all tests.

I tried a portable VScode 1.58 and it worked. That's using a different version of TestAdapter and TestExplorer. Upgrading the install to 1.59 also updates the extentions.

It fails on the current VScode Insider 1.60 (2021-08-18) too.

OS: Win10 Vscode: 1.59.0 TestExplorer: 2.21.0 PHPUnit TestExplorer: 2.0.76 Test Adapter Converter: 0.1.2

I originally posted this in the hbenl/vscode-test-explorer support #225 but they said this extension was the problem.

tyler36 avatar Aug 30 '21 00:08 tyler36

@tyler36 I'm also experiencing the same problem on Mac with an almost identical version set of the extensions.

OS: Mac OS 10.14.6 VScode: 1.59.0 TestExplorer: 2.21.1 PHPUnit TestExplorer: 2.0.76 Test Adapter Converter: 0.1.2

Let me know if you discover a fix!

madebycaliper avatar Sep 11 '21 18:09 madebycaliper

Same here. Still not fixed. Any news on this topic?

tobiasbhn avatar Nov 04 '22 14:11 tobiasbhn

I'm rewriting this extension now.

recca0120 avatar Nov 06 '22 19:11 recca0120

try version 3.0.

recca0120 avatar Dec 04 '22 10:12 recca0120

Version 3.0.2 appears to function correctly.

Thank you for the update.

tyler36 avatar Dec 05 '22 00:12 tyler36