Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show intermediate test results in the panel #186

Closed
rwols opened this issue Jun 7, 2020 · 7 comments
Closed

Show intermediate test results in the panel #186

rwols opened this issue Jun 7, 2020 · 7 comments

Comments

@rwols
Copy link
Contributor

rwols commented Jun 7, 2020

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.

@randy3k
Copy link
Member

randy3k commented Jun 7, 2020

The panel should be updated incrementally. Is it!?

@rwols
Copy link
Contributor Author

rwols commented Sep 3, 2020

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

@randy3k
Copy link
Member

randy3k commented Sep 3, 2020

Not sure if you mean this.

Sep-03-2020 15-52-43

ST 4084 on macOS.

@randy3k
Copy link
Member

randy3k commented Sep 3, 2020

By the way, are you using deferred testcases?

@rwols
Copy link
Contributor Author

rwols commented Sep 4, 2020

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

@gerardroche
Copy link
Contributor

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:

gerardroche@dcfec0b

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 added a commit to gerardroche/UnitTesting that referenced this issue Dec 10, 2020
gerardroche added a commit to gerardroche/UnitTesting that referenced this issue Jan 23, 2022
gerardroche added a commit to gerardroche/UnitTesting that referenced this issue May 31, 2022
gerardroche added a commit to gerardroche/UnitTesting that referenced this issue Sep 26, 2022
gerardroche added a commit to gerardroche/UnitTesting that referenced this issue Apr 1, 2023
gerardroche added a commit to gerardroche/UnitTesting that referenced this issue Apr 4, 2023
* Run test for individual file and generate coverage.
* Run test for individual file without having to switch to actual test.
* Support for unified test commands, see https://github.com/gerardroche/sublime-test
* Fixes for ST4, see SublimeText#186 (comment)
@deathaxe
Copy link
Member

Reloader issues are fixed by 1.6.0+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants