Welcome to the Linux Foundation Forum!

Fault Injection / Mutation testing


Hi. I been writing a C program for Linux, and wanted to test error handling subroutines. Is there any FOSS that provides fault injection and/or mutation testing?


  • CCC
    CCC Posts: 12
    I'm not sure if this is what you need, but I do know that gdb can be used to send any signal to a program being debugged at any point during execution (though it may have to be at a breakpoint).

    If you want to test faults in input data, then that's surely a matter of setting up your test cases with faults...
  • woboyle
    woboyle Posts: 501
    There are commercial tools, such as X-Runner, and I think there are some FOSS tools for error/regression testing (check out Eclipse add-ons), but I'm not familiar with them, unfortunately.


Upcoming Training