basic info

  • Job name: unit test & functional test for unpack agent
  • ownership: Larry will own this job, involve Mark, ..., if need
  • schedule:
    - Unit test Sep 19, 2010 - Oct 31, 2010
    - Functional test Nov 3, 2010 - <del>Nov 19, 2010</del>Nov 19, 2010
  • status:
    - Unit test * Done temporarily *
    - Functional test * Done temporarily *

<del>

Meeting questions at present

1. cd ./fossology/tests/ sudo ./Install.php, error occur

[snip]
./createUIUsers Failed!, Investigate
&lt;/del&gt;

Requirements

Requirements

Task list & schedule & status

run tests about unpack agent every day during testing

Unit test

need around 20 days, 5 days Elapsed, remaining 15 days * discuss the requirements, estimate, draft schedule, and confirm with team; actual: 3 days, Sep, 20 - Sep, 30; * Done * * remove main() function; estimate: 3 days, Sep 26- Sep 30; actual: 2 days, Sep 28- Sep 30; * Done * * archive library * Done * * design & implement unit tests; estimate: 12 days, Oct 9 - Oct 31 * Done * * investigate & lists the function list will be tested * Done except AddToRepository(..) * * ExtractAR(..) in ununpack-ar.c * ExtractISO(..) in ununpack-iso.c * ExtractDisk(..) in ununpack-disk.c * FindCmd(..), RunCommand(..), UnunpackEntry(..), TraverseStart(..), Traverse(..), TraverseChild(..), AddToRepository(..), etc in ununpack.c * prepare test data(archives & packages for testing) * Done * * design test cases * Done * * bug analysis and treatment; handle this task at any time * Done * * organize the test result; estimate: 1 day, Oct 28 - <del>Oct 31</del> Nov 2 * Done *

Functional test

part of November 2010 job * learn how to use PHP unit * Done * * learn the cli usage about unpack agent * Done * * design & implement functional tests * Done * * bug analysis and treatment * Done *

Design & Implementation

Unit test

already checked in the test code.

Functional test

already checked in the test code.

Test report

Unit test

unit test report & bug treatment

Functional test

functional test report & bug treatment