Manual unit testing had limited scalability and slowed release cycles across automotive embedded software programs. SRM Tech addressed this through an internal automated unit testing framework that reduced testing effort, enabled early defect detection, and strengthened ISO 26262 and ASPICE compliance readiness, driving faster, more reliable releases with improved test consistency.
Business Goals
So the primary objectives were to:
- Replacing manual unit test execution with a scalable automated testing framework resulted in reduced testing effort and fewer human errors.
- Enable early defect detection through isolated and hardware-independent testing
- Improve maintainability and readiness for ISO 26262 and ASPICE compliance
- Support parallel development and faster releases through reusable test assets
- Reduce overall testing effort and schedule by leveraging reusable test assets and minimizing rework
Solution
The automated test execution framework removed dependency on target hardware and standardized reporting, enabling teams to validate code earlier, iterate faster, and remain audit-ready throughout the development lifecycle.
Before Implementation
Prior to automation, unit testing workflows were limited by manual effort and scalability challenges:
- Unit tests were executed manually, resulting in high effort, inconsistent outcomes, High testing effort, and longer execution time.
- Tight coupling between test code and application logic increased maintenance effort
- Regression testing did not scale efficiently across ECUs, targets, and environments
- Defects were often detected late in the development cycle, increasing rework
- Coverage analysis and reporting required manual intervention, slowing compliance preparation
After Implementation
With the automated unit testing framework in place, testing workflows were significantly streamlined:
- Batch-driven automation enabled consistent unit test execution across multiple targets and environments, resulting in a significant reduction in effort.
- Reusable test architecture reduced test creation and maintenance effort across ECUs and will reduce SDLC.
- Implementation of rapid, unattended regression cycles integrated with the development workflow.
- Mocking and isolation frameworks enabled early, hardware-independent validation to improve product quality.
- Automated code coverage and reporting strengthened quality tracking and ISO 26262 / ASPICE readiness
- Faster execution supported parallel development and quicker release cycles
Key Highlights
Automation Strategy
- Batch workflows, TestCSV triggers, automated execution, and multi-format report generation across target environments.
Reusable Building Blocks
- Common utilities, initialization logic, mocks, input generators, and parameterized tests reduce development and testing effort across programs.
Mocking Framework
- Hardware-independent stubs enabled early testing and reduced reliance on physical targets.
Coverage Integration
- Automated coverage insights generated using winAMS and LDRA tools.
Outcomes
- 20% Reduction in Testing Effort through reusable, automated unit testing
- Early Bug Detection, shifting validation to earlier development stages
- Faster and More Reliable Releases enabled by parallel and automated testing
- Enhanced ISO 26262 and ASPICE Readiness, improving internal quality maturity and customer satisfaction
Technologies Used
- Code Coverage Tools: winAMS, LDRA (C/C++), and G Test
- Compilers: Tasking, HEW, CubeSuite, GHS Multi, QNX Momentics, S32DS
- Microcontrollers: SH2A, M32R, RH850 (G3M/G4MH), ARM Cortex (A55/M7), Tricore (TC39x)
- Framework Capabilities: Parameterized testing, mocks and stubs, batch automation, HTML and CSV reporting.









