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


Ignore:
Timestamp:
07/07/12 05:31:28 (12 years ago)
Author:
Xiaochen Pan
Comment:

Legend:

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

    v6 v7  
    11= TestingReview/CMock =
     2
     3=  General Description  =
    24
    35
     
    2123
    2224+ 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.
     25= Test Result =
     26
     27= SP test =
     28
     29[wiki:File:Unity_sp.png File:Unity sp.png]
     30
     31In 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  =
     33
     34
     35CMock 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
     60In 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