Bochlin / vunit-test-explorer

VUnit test explorer for VSCode
MIT License
11 stars 5 forks source link

Show log output in the output window after test execution #16

Open timrid opened 4 years ago

timrid commented 4 years ago

First of all I find this plugin very helpful and it works fine for me so far. I work with "Active-HDL Lattice Edition 10.5.216.6767" and "vunit-hdl 4.4.0".

I'm working with the logging function of VUnit and find it very difficult to look at the generated log output, because I have to open the file "output.txt" and look for the log output (between many other outputs).

From the "Python Test Explorer" I'm used to see the log output of each test case directly in the "Output" window of VSCode when the test is executed. This is a feature which would be very helpful in this plugin as well.

Bochlin commented 4 years ago

Output is sent to the VUnit output window (see image in the readme) but run.py is not run with the --verbose option. If you want the full log printed to the output window you can add --verbose to the vunit.options setting.

timrid commented 4 years ago

Thank you. The --verbose option helps me to see the log output.

A feature which would be very helpful is, if a click on an executed testcase directly opens the VUnit output window and jumps to the log output of the selected testcase. Currently, when I run many test cases, I have to scroll through the whole list to see the output of the test case I am looking for.

Furthermore, it would be great if the output could be in color, like when I run the test manually from the terminal.

Bochlin commented 4 years ago

Not sure if the output window supports color, I will have to look into that. I have also considered to run the test cases in a terminal instead of an output window.

pintert3 commented 8 months ago

Is this issue currently being worked on? Seems like a long time since it was last worked on. Was a good idea to add some color