First time here? Check out the FAQ!
1

unit test coverage - error exporting

I have a project developed PySide6, using unittest and trying to measure coverage. I did enable the menu checkbox Testing->Use Code Coverage. All tests pass.

Menu Testing->Export Coverage Data->Export Raw fails with message: "Error executing command .internaltesting.code_coverage_export", however, the file is generated, it is a sqlite database.

Menu Testing->Export Coverage Data->Export Html fails with message "No source for code: \tdd\pyscript".

updated 2026-05-06 09:13:11 +0000
This post is a wiki. Anyone with karma >75 is welcome to improve it.
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

This was due to files listed in the coverage stats no longer existing, and Wing running coverage report generation without the --ignore-errors flag. This will be fixed in Wing 11.1.4+.

Wingware Support's avatar
4.3k
Wingware Support
answered 2026-06-01 21:26:50 +0000
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer