Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

Changes between Version 17 and Version 18 of Projects/GSoC/TestingReview/CMock


Ignore:
Timestamp:
07/07/12 18:55:17 (12 years ago)
Author:
Xiaochen Pan
Comment:

/* General Comparison */

Legend:

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

    v17 v18  
    66CMock is a highly automated testing framework based on Unity, a unit testing framework. It have also provided handy tools supporting mocking functionality.
    77
    8 + Support rich sets of assertions.
     8 * Support rich sets of assertions.
    99
    10 + 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.
     10 * 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.
    1111
    12 + 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.
     12 * 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.
    1313
    14 + Flexible. It can still be used script-free.
     14 * Flexible. It can still be used script-free.
    1515
    16 + 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.
     16 * 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.
    1717
    18 + 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.
     18 * 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.
    1919
    20 + The tests results are reported with line number and function names indicated.
     20 * The tests results are reported with line number and function names indicated.
    2121
    22 + The scripts-rich feature have largely automated test running process, with test runner automatically generated and mock functions automatically generated.
     22 * The scripts-rich feature have largely automated test running process, with test runner automatically generated and mock functions automatically generated.
    2323
    24 + 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.
     24 * 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.
    2525= RTEMS based Tests Result =
    2626