[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
unit_test_setup()
[Thread Prev] | [Thread Next]
- Subject: unit_test_setup()
- From: James Grenning <james@xxxxxxxxxxxx>
- Date: Mon, 29 Jul 2013 12:03:37 -0500
- To: cmocka@xxxxxxxxxxxxxx
I can't seem to create a unit_test_setup(). In looking at the macro, unit_test_setup() does not bother to record both functions. I think unit_test_setup() is not intended to be used except by unit_test_setup_teardown(). Is that right? thanks, James -------------------------------------------------------------------------------------------- James Grenning Author of TDD for Embedded C www.renaissancesoftware.net http://pragprog.com/titles/jgade/ www.renaissancesoftware.net/blog www.twitter.com/jwgrenning
Re: unit_test_setup() | Andreas Schneider <asn@xxxxxxxxxxxxxx> |
problem refactoring tests, expect can't be set in setup() | James Grenning <james@xxxxxxxxxxxx> |