[EXTERNAL] [edk2-discuss] Unit Test Framework for UEFI driver of RAID controller


Bret Barkelew <bret.barkelew@...>
 

EDK2 has a native unit test framework based on CMocka (which at one point was Google’s straight-C testing framework). Would that work for you?

- Bret

From: sanket.goswami via Groups.Io<mailto:sanket.goswami@...>
Sent: Tuesday, February 11, 2020 8:15 PM
To: discuss@edk2.groups.io<mailto:discuss@edk2.groups.io>
Subject: [EXTERNAL] [edk2-discuss] Unit Test Framework for UEFI driver of RAID controller

Hi,
I'm trying to create Unit test framework for UEFI driver of PCI RAID controller and looking for a suitable tool for this.
I'm thinking of using googletest and googlemock frame work for this.
Has anyone used googlemock framework with UEFI? I wish to know if it's possible to integrate both in EDK build.
Please let me know if anyone has used other similar tools for unit test framework for UEFI.

Thanks,
Sanket