kondratyev-nv / vscode-python-test-adapter

Python Test Adapter for the VS Code Test Explorer
https://marketplace.visualstudio.com/items?itemName=LittleFoxTeam.vscode-python-test-adapter
MIT License
117 stars 27 forks source link

Runtime log collection #300

Closed kn-ms closed 9 months ago

kn-ms commented 10 months ago

I have added an optional feature to collect logs (in separate ouput channel) of the test run. In testplan it is not possible to collect per testcase logs, but the execution logs may contains usefull information.

Additionally I have refactored some of the code dupplication in unittests. Introduced sinon mocking lib, so some more test can be simplified with mocking later.

This pr is on top of #299 so best to view diffs when that get merged, and this get rebased.

kn-ms commented 9 months ago

@kondratyev-nv I have rebased on master now, it should be easier to check the diffs. (It is still quiet bit of a change)

kn-ms commented 9 months ago

Here are some screenshots how it looks with teh different frameworks. @kondratyev-nv If you like it and it get merged, can you publish a version as well, I know at least one guy who waiting to have his hands on this. Thx K

testplan-1694982711298 image image