Structure and Workflow¶
The most basic SVUnit arrangement includes a single unit test template with 1 or more unit tests against a single UUT.
A more likely arrangement is to have several unit test templates in a single directory, each containing unit tests for one of several UUTs. As examples, a design engineer building a subsystem with N modules would have N unit test templates running within a single test suite. Likewise, a verification engineer building a testbench with N transactors would also have N unit test templates running within a single test suite.
A final, large scale arrangement is one with a test suite for each of M subsystems where each subsystem contains any number of unit test templates and the unit test templates for each subsystem are located in different directories.
Hierarchy is derived from file/directory structure where all unit test templates located within the same directory are grouped into a test suite.