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
Is there a way to create the VUnit object and then specify the test case(s) to run? What I would like to do is create an instance of VUnit , call add_library(), add_source_files(), etc, and then specify the test case(s) I would like to run just before, or when, I call main(). It would maybe look something like:
My use case is using composable pytest fixtures to configure an instance of VUnit and then in the test case call main() (or equivalent) on the VUnit instance to actually build and run the simulation. One pytest fixture would create the base VUnit instance, and then successive fixtures would create libraries, add sources, set generics, etc, until the main test function called main().
The text was updated successfully, but these errors were encountered:
Is there a way to create the VUnit object and then specify the test case(s) to run? What I would like to do is create an instance of
VUnit
, calladd_library()
,add_source_files()
, etc, and then specify the test case(s) I would like to run just before, or when, I callmain()
. It would maybe look something like:My use case is using composable pytest fixtures to configure an instance of
VUnit
and then in the test case callmain()
(or equivalent) on theVUnit
instance to actually build and run the simulation. One pytest fixture would create the baseVUnit
instance, and then successive fixtures would create libraries, add sources, set generics, etc, until the main test function calledmain()
.The text was updated successfully, but these errors were encountered: