Skip to content
Commit 55475b06 authored by Brett Warren's avatar Brett Warren Committed by tarek-arm
Browse files

unit_test: integrate unity testing framework



New dependencies are added via contrib/cmock:

    - CMock, a mock/stub generator and runtime, designed for use with:
    - Unity Test, a simple unit test framework built for C.

These are integrated into the project via unit_test, which provides:
    - configuration for the framework, including project-wide mocks
    - tools for generating new mocks
    - cmake build system configuration allowing modules to be added to the
      test framework
    - doccumentation instructing how to configure and run the test suite and
      add new module test directories.

The new test framework can be built and run via the 'mod_test' target,
and it is also run in conjuction with framework tests under the existing
'test' target (to build framework tests independently, use 'fwk_test' target).

Signed-off-by: Sreehari Vadlamudi's avatarsrevad01 <sreehari.vadlamudi@arm.com>
Signed-off-by: Brett Warren's avatarBrett Warren <brett.warren@arm.com>
Change-Id: I6174ca8bb78f6fd34ed71d300873ce5de5a5d27b
parent db606087
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment