TDD - You can write code without actual hardware (Part I)
This post is an extension of "Another mock example using StubWithCallback". Previously, test_eeprom_controller.c includes only one test case.
void test_mock_write_read_byte(void)
{
uint32_t test_address = 0;
uint8_t write_data = 0xAA;
fla...
hyunwoochoi.hashnode.dev3 min read