Driver authors should use the driver_test_realm for integration tests.
Driver authors should use device enumeration tests to verify system-level topology integration across the full board tree during driver development.
Drivers authors should use the driver testing library library for unit tests.
There are a number of helpful mock libraries: