You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I modified run.py:12 with [testlib.test_bench("tb_test1").test("test1").add_config(f"conf{n}") for n in range(0, 3)].
This adds some more configurations so I could see how they affected the test explorer outline and UI injected in the testbench (.vhd) of the test case with multiple configs.
It looks fine and is still really intuitive.
All though I would prefer if the test explorer out line would create tree for test cases with multiple configs.
Today:
testlib
...
tb_test0
conf0.test1
conf1.test1
conf2.test1
test2
test3
...
Proposed:
testlib
...
tb_test0
test1
conf0
conf1
conf2
test2
test3
...
The text was updated successfully, but these errors were encountered:
halfow
changed the title
config test representation tag:enhancement
config test representation lable:enhancement
Apr 5, 2020
That was my original intention, the problem is that there is no way for the extension to reliably determine the configuration name.
VUnit names the tests library.testbench.[configuration.]testname and since both configuration and testname are allowed to contain "." it is not possible to say "if name has four parts then third part is configuration name".
In order to group in the way you propose, the exported json from VUnit needs to support at least a field naming the configuration (if any). It may still be an improvement though to add one more level of hierarchy or allowing the user to set the maximum hierarchy depth, then at least the configurations would be grouped.
Bochlin
changed the title
config test representation lable:enhancement
config test representation
Apr 5, 2020
I modified
run.py:12
with[testlib.test_bench("tb_test1").test("test1").add_config(f"conf{n}") for n in range(0, 3)]
.This adds some more configurations so I could see how they affected the test explorer outline and UI injected in the testbench (.vhd) of the test case with multiple configs.
It looks fine and is still really intuitive.
All though I would prefer if the test explorer out line would create tree for test cases with multiple configs.
Today:
...
...
Proposed:
...
...
The text was updated successfully, but these errors were encountered: