· KLDP.org · KLDP.net · KLDP Wiki · KLDP BBS ·
Act Project

1. ACT : Advanced CUnit Test for C

1.1. Introduction

ACT is a unit test framework for C. It features a simple interface for defining unit tests, putting little in the way of the developer. The output from unit tests can be used within source code editors and IDEs..

ACT was inspired by similar frameworks that currently exist for most programming languages; the most famous example being [http]JUnit for Java (http://www.junit.org). There is a list of unit test frameworks for multiple languages at xprogramming.comm (http://www.xprogramming.com/software.htm) . Unit testing has a long history as part of formal quality assurance methodologies, but has recently been associated with the lightweight methodology called Extreme Programming. In that methodology, the characteristic practice involves interspersing unit test writing with coding (" test a little, code a little"). While the incremental unit test/code approach is indispensable to Extreme Programming, it is also applicable, and perhaps indispensable, outside of that methodology.

The incremental test/code approach provides three main benefits to the developer:

Because the unit tests use the interface to the unit being tested, they allow the developer to think about how the interface should be designed for usage early in the coding process. They help the developer think early about aberrant cases, and code accordingly. By providing a documented level of correctness, they allow the developer to refactor (see http://www.refactoring.com) aggressively. That third reason is the one that turns people into unit testing addicts. There is nothing so satisfying as doing a wholesale replacement of an implementation, and having the unit tests reassure you at each step of that change that all is well. It is like the difference between exploring the wilderness with and without a good map and compass: without the proper gear, you are more likely to proceed cautiously and stick to the marked trails; with it, you can take the most direct path to where you want to go.

Email: heavenzen@kldp.net

«  December 2021  »

1.2. Information about ACT

Look at the ACT homepage for the latest information on Check Act or http://wiki.kldp.org/wiki.php/ActProejct

The ACT project page is at http://kldp.net/projects/act

1.3. Getting ACT

1.4. Contributing

The author welcomes any and all help with ACT, whether through enhancement requests, bug reports, patches, documentation, etc. Please visit the Check project page at http://kldp.net/projects/act/

Patches to ACT, unless trivial, should be against latest CVS, and should include a full set of unit tests testing the new behavior. No functionality goes into ACT without unit tests, and submitting a patch without automated testing guarantees that it will go into the request queue, not the "to be applied soon" pool.

1.5. Software Requirement Specification


  • . TestRunner Console mode
  • . TestRunner Mfc GUI mode
  • . Sample code

2. News

2.1. Advanced CUnit Test(ACT) 버전 0.5.52가 제출되었습니다.

3. 소프트웨어 상세 요구사항(Software Requirement Specifications)

3.1. Features

3.1.1. Test Frameworks

  • 소스코드 호환성 제공
  • GUI 제공
  • 다양한 Test Patterns 제공
  • 지원 예정인 OS : uc/OS-II v2.00, Linux, win32, etc.
  • Microwindows Compatible

3.1.2. GUI and Test Execution

  • Run all, or selected run
  • Runs all test in separate threads to keep GUI responsive,
  • Customize progress bar with success, failure, ignore and not run count
  • IDE like application using Magick library
  • Built-in reporting
  • Visual Studio Add-in

3.1.3. Results report

The test results are serialized to XML before being rendered by report generator. Currently the following reports are supported:

  • XML
  • HTML
  • Text

3.1.4. Tutorials

10 overs samples

  • A First Test Sample

3.1.5. Research

  • GUI : 임베디드 환경에서 사용될 수 있는 GUI
    • uC/OS-II / GUI 지원 (uc/OS-II라이센스:비상업용, Microwindows 라이센스: MPL or GPL)
    • Win32 / MFC 지원
    • Linux / GUI 지원

He who invents adages for others to peruse takes along rowboat when going on cruise.

sponsored by andamiro
sponsored by cdnetworks
sponsored by HP

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2005-04-30 17:51:08
Processing time 0.0071 sec