This past week I’ve been learning how to use the EDK2 host-based unit testing framework.
It’s been _so_ useful: I’m working on adding a library to parse data from SPD EEPROMs on memory modules and create SMBIOS tables from it. Thanks to Thaiphoon Burner I now have a good set of test data and my unit tests have been finding several bugs.
I’ll definitely be using the framework more in future: there’s far too little unit testing in the embedded world.
#EDK2 #uefi #unittesing #ddr4 #ddr5 #smbios
I'm quite enjoying using Jasmine #unittesing for my personal #javascipt project. Anyone have any tips or tricks?