AN 947: Testing the Nios® II Software with Unit-Test Framework

ID 683606
Date 4/30/2021
Public

Conclusion

The System Mock framework is tailored to the unit-testing needs of a Nios® II software. It provides the observability into state changes, event injectability and side effect creation. Beside the usability aspects, System Mock is highly scalable and reusable due to its modular design. IP Mock modules can be re-used or expanded for future projects. Developers can swiftly swap in or out any IP Mock modules, in line with project requirements. With this framework, developers can easily achieve a high level of coverage, because you can execute the Nios® II software from its entry point.