Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Sep 2017 00:05:07 -0700
From:      John-Mark Gurney <jmg@funkthat.com>
To:        freebsd-testing@freebsd.org
Subject:   suggestion library for mocking C functions
Message-ID:  <20170924070506.GQ64616@funkthat.com>

next in thread | raw e-mail | index | archive | help
Is there a recommended/supported library for mocking C functions?

I want to write some test cases for functions that call other code
in the same compilation unit that I want to be able to mock.

There are a few out there, but was wondering if anyone has suggestions?

Thanks.

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170924070506.GQ64616>