[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

unit_test_setup()


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






Follow-Ups:
Re: unit_test_setup()Andreas Schneider <asn@xxxxxxxxxxxxxx>
problem refactoring tests, expect can't be set in setup()James Grenning <james@xxxxxxxxxxxx>