Changes between Version 7 and Version 8 of Projects/GSoC/TestingReview/CMock


Ignore:
Timestamp:
Jul 7, 2012, 6:50:20 AM (7 years ago)
Author:
Xiaochen Pan
Comment:

/* Test Result */

Legend:

Unmodified
Added
Removed
Modified
  • Projects/GSoC/TestingReview/CMock

    v7 v8  
    2525= Test Result =
    2626
    27 = SP test =
     27= SP01 test =
    2828
    2929[wiki:File:Unity_sp.png File:Unity sp.png]
    3030
    3131In the above test result, because after the last test, it deletes itself, so the test output for that test does not show up. But from the total test display, it can be concluded that that test has also passed since all five tests have passed.
    32 =  =%HEADLINE2OPEN#&% General Description  =
     32= =DEVICEIO01 test ==
    3333
    34 
    35 CMock is a highly automated testing framework based on Unity, a unit testing framework. It have also provided handy tools supporting mocking functionality.
    36 
    37 + Support rich sets of assertions.
    38 
    39 + CMock supports setUp() and tearDown() functions runned before and after each test functions, which is exactly like in test fixtures. In this way, we say that CMock support xUnit.
    40 
    41 + With the heavy usage of Ruby, which enables the high level of automation, comes with highly strict test-writing format and light tests writing effort compared to other testing frameworks supporting mocking functionality.
    42 
    43 + Flexible. It can still be used script-free.
    44 
    45 + It is well suited for both RTEMS based and Host based testing, where RTEMS-based testing is hard to guarantee for a large number of  tests frameworks.
    46 
    47 + It supports several compilation options, such as CMOCK_MEM_STATIC and CMOCK_MEM_SIZE, the combination of which limits the total amount of memory the testing program could use during run time. If the tests needs more memory than specified, it quit tests. Also, there are a lot of other compilation options that facilitate testing under embedded environments.
    48 
    49 + The tests results are reported with line number and function names indicated.
    50 
    51 + The scripts-rich feature have largely automated test running process, with test runner automatically generated and mock functions automatically generated.
    52 
    53 + Unlike other test framework evaluated, it is upgradable to Ceedling, which is a another script driven framework based on CMock and Unity, and Ceedling is more automated than CMock.
    54 = Test Result =
    55 
    56 = SP test =
    57 
    58 [wiki:File:Unity_sp.png File:Unity sp.png]
    59 
    60 In the above test result, because after the last test, it deletes itself, so the test output for that test does not show up. But from the total test display, it can be concluded that that test has also passed since all five tests have passed.
    61 =  ==LIB
     34[[File:Unity_deviceio01.png]]
     35=  ==