UnitTesting icon indicating copy to clipboard operation
UnitTesting copied to clipboard

Show intermediate test results in the panel

Open rwols opened this issue 5 years ago • 6 comments

The panel remains empty while the tests are running. It would be nice to print the intermediate test results while the test runner is running.

rwols avatar Jun 07 '20 13:06 rwols

The panel should be updated incrementally. Is it!?

randy3k avatar Jun 07 '20 15:06 randy3k

I don't see any incremental updates. ST 4084 on Linux.

rwols avatar Sep 03 '20 18:09 rwols

Not sure if you mean this.

Sep-03-2020 15-52-43

ST 4084 on macOS.

randy3k avatar Sep 03 '20 22:09 randy3k

By the way, are you using deferred testcases?

randy3k avatar Sep 03 '20 22:09 randy3k

Yes. A mixture of regular unittest.TestCase and unittesting.DeferredTestCase even.

rwols avatar Sep 04 '20 11:09 rwols

I've been updating NeoVintageous to Python 3.8 in ST4 and have similar issues.

I've narrowed the issue down to the UnitTesting reloader. The reloader causes random failures.

In NeoVintageous (st4 branch) the tests randomly fail and the test panel can remain empty like described above.

When I comment out the reloading code it works, but obviously I need to restart ST when I make changes to the plugin:

https://github.com/gerardroche/UnitTesting/commit/dcfec0b4878064fe6e29b8fca706c497b0eb9fc2

With the above change the NeoVintageous tests run fine, .

For my PHPUnitKit plugin I replaced the reloader code with (AutomaticPackageReloader plugin):

sublime.active_window().run_command('package_reloader_reload')

That seemed to work for PHPUnitKit but not for NeoVintageous.

gerardroche avatar Sep 05 '20 10:09 gerardroche

Reloader issues are fixed by 1.6.0+

deathaxe avatar Mar 24 '24 14:03 deathaxe