commit | c238c606c4fa973c1b61c23847e6ebcf154dcfab | [log] [tgz] |
---|---|---|
author | Giuseppe Andreello <gandreello@nestlabs.com> | Thu Jul 06 15:02:31 2017 -0700 |
committer | Giuseppe Andreello <gandreello@nestlabs.com> | Thu Jul 06 15:19:53 2017 -0700 |
tree | 8b8c75bdda0391864244cf4c498942c440142269 |
Initial import.
Nest Labs Fault Injection (nlfaultinjection) is designed to provide a simple, portable fault injection framework.
It should be capable of running on just about any system, no matter how constrained and depends only on the C Standard Library.
This is a simple framework that helps implement fault injection APIs. Fault injection APIs simplify the testing (manual or automated) of the error handling logic of individual components and whole systems; as a testing tool, a fault injection API is not as powerful as an extensive set of mock objects, but has the advantage of being able to run on a live system.
This is not an official Google product.
A SW module implements a fault-injection API by doing the following: