Unity/extras/fixture
2019-10-30 09:50:22 -04:00
..
src Make memory handling optional in fixtures 2019-10-30 09:50:22 -04:00
test Make memory handling optional in fixtures 2019-10-30 09:50:22 -04:00
rakefile_helper.rb Make memory handling optional in fixtures 2019-10-30 09:50:22 -04:00
rakefile.rb Updated to newer coding standard 2019-10-24 15:33:41 -04:00
readme.md Split memory from fixtures and make it's own addon 2019-10-30 07:52:07 -04:00

Unity Fixtures

This Framework is an optional add-on to Unity. By including unity_framework.h in place of unity.h, you may now work with Unity in a manner similar to CppUTest. This framework adds the concepts of test groups and gives finer control of your tests over the command line.

This framework is primarily supplied for those working through James Grenning's book on Embedded Test Driven Development, or those coming to Unity from CppUTest. We should note that using this framework glosses over some of the features of Unity, and makes it more difficult to integrate with other testing tools like Ceedling and CMock.

Dependency Notification

Fixtures, by default, uses the Memory addon as well. This is to make it simple for those trying to follow along with James' book. Using them together is completely optional. You may choose to use Fixtures without Memory handling by defining UNITY_FIXTURE_NO_EXTRAS. It will then stop automatically pulling in extras and leave you to do it as desired.