Driver regression testing with roadtest
Driver regression testing with roadtest
Posted Apr 4, 2022 14:16 UTC (Mon) by arnout (subscriber, #94240)Parent article: Driver regression testing with roadtest
There was a talk at FOSDEM discussing a completely different approach called EasyMock. Rather then using UML, it mocks away all of the kernel itself. It's not so great for regression testing of changes outside of the driver (because exactly those things are mocked away), but I think it has much more potential for testing the implementation of the driver itself, because it's much easier to mock corner cases and error paths (e.g. failing allocations).
With roadtest, I expect things like error paths for allocations will remain untested because they can't be mocked.