
1.

    ӲƸϤϲƸץȤǺ줿CUnitбƥȥɿ
    ġǤ
    ΤӲƸϤǤФɤEmbedded UnitѤ˽񤭴ޤ

    ꥸʥΤӲƸϤϰʲURLǽǤ

    Ƹץ
    http://sourceforge.jp/projects/cuppa/

    Ƹ(CppUnit PreProcess Aid)
    http://www.unittest.org/


2.ե빽

    [tools]
    +- readme.txt   :Υե
    +- makefile     :ᥤե
    +- COPYING      :ɽ
    +- [tbcuppa]    :ӲƸ
    +- [tbuma]      :ϲ


3.ѥ

    toolsǥ쥯Ȥ˰ư'make'ޥɤ¹ԤƤ
    toolsǥ쥯ȥ˰ʲΣĤΥץꥱ󤬺ޤ

    tcuppa  ƥȥ롼פοޤ
    bcuppa  tcuppa줿ƥȥ롼פ¹Ԥmainޤ
    tuma    tcuppa줿ƥȥ롼פ˥ƥȤɲäޤ
    buma    bcuppa줿main˥ƥȼ¹ԥɤɲäޤ


4.Ȥ

4.1.tcuppa
    My.hƤؿƥȤƥȥ롼 MyTest 

    $ tcuppa My.h MyTest testXxx testYyy

    Ϥ롥My.h򥤥󥯥롼ɤΥƥȴؿ

        static void testXxx(void)
        static void testYyy(void)

    MyTest.c 롥إåϾάǽ,ޤʣǽ.

4.2.bcuppa
    bcuppatcuppaˤä줿ƥȥ롼פ缡¹Ԥ
    ᥤ롼ޤ
    ۤɺ MyTest ¹Ԥ륳 AllTests ˤ

    $ bcuppa AllTests MyTest

    Ϥ롥ޤȥǥ쥯ȥ ATest.c BTest.cȺߤä

    $ bcuppa AllTests *Test.c

    Τ褦ʥޥɤλ꤬ǽǤ

4.3.tuma
    tcuppa줿ƥȥ롼פ˥ƥȤɲäޤ
    Ϥۤɺ MyTest ˥ƥ testZzz ɲä硢

    $ tuma MyTest testZzz

    Ϥޤ

4.4.buma
    bcuppa줿 AllTests ˼¹ԥɤɲäޤ
     YourTest ȸƥȥ롼פޤ.

    $ tcuppa YourTest testXxx testYyy

     YourTest  AllTests ɲäޤ

    $ buma AllTests YourTest

------------------------------------------------------------------------------
$Id: readme.txt,v 1.1 2003/09/02 12:07:44 arms22 Exp $
