· 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

«  August 2019  »
SunMonTueWedThuFriSat
 123
45678910
11121314151617
18192021222324
25262728293031

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

SRS-ACT

  • . 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 Áö¿ø




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.0079 sec