all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Testing library for C code
@ 2015-10-08 11:36 Przemysław Wojnowski
  2015-10-08 14:44 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Przemysław Wojnowski @ 2015-10-08 11:36 UTC (permalink / raw)
  To: emacs-devel

Hello everybody,

I'm looking at libraries for testing C code and I'm wondering
if it's acceptable to use C++ to write the tests for Emacs' C code?

Simply there are more choices when C++ can be used (for example 
googletest, cppunit).
But if not, then there are C-only options too (for example 
https://cmocka.org/).

The important part is breaking dependencies, which allow
to run tests in isolation. Mocks are standard way do do it.

Thanks,
Przemysław



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-10-08 16:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-08 11:36 Testing library for C code Przemysław Wojnowski
2015-10-08 14:44 ` Eli Zaretskii
2015-10-08 16:43   ` Przemysław Wojnowski

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.