NAME Test::AutomationFramework - Test Automation Framework (TAF)

SYNOPSIS use Test::AutomationFramework my $TAF = new Test::AutomationFramework; $TAF->testOp(......); $TAF->propertyOp(......);

DESCRIPTION TAF manages automated test cases with test case setup, test case query, test case execution and test reult reporting based on the concept of Test Property.

User Level Operations

Test Automation Operations: 	tf.pl -testOP [create|list|delete|exec]
Property        Operations: 	tf.pl -propertyOP [create|add|list|modify|delete]
TC & Property   Operations: 	tf.pl -tcOP [create|list|delete|exec] -propertyOP [create|add|list|modify|delete]

Programmer Level Test Automation Operations

TAF defines an Automated Test Case as a script that returns pass, fail, number
Test Case Format: [Drive:]\[projName]\[tcDefaultName]  e.g c:\testProj1\tc.pl (return pass|fail)
TAF manages automated test case created by different computer languages 
-defaultTCName 
* Create an automated TC  for testProj1   TAF->testOp(create="c:","projName","tc.pl");
* List      automated TCs of  testProj1   TAF->testOp(  list="c:","projName","tc.pl");
* Delete    automated TCs of  testProj1   TAF->testOp(delete="c:","projName","tc.pl");
* exec      automated TCs of  testProj1   TAF->testOp(  exec="c:","projName","tc.pl");
  

Programmer Level Property Operations

TAF manages Automated Test Case by the concept of TC Property 
* Set 1st TC1's QA Owner is Yong	TAF->propertyOP(create=QAOwner:Yong);
* Set 2nd TC1's QA Owner is Joe     	TAF->propertyOP(   add=QAOwner:Joe);
* Set TC2 as a smoke test 		TAF->propertyOP(create=TCType:SmokeTest);
* Set TC3 as both a regresson testand a performance test TAF->propertyOP(create=TestType:Regression);
* List Smoke Test Suite's TCs		TAF->propertyOP(list=TestType:SmokeTest*);
* Execute smoke test suite 		TAF->propertyOP(list=TestType:SmokeTest*);
* Report smoke test suite's latest results  	TAF->propertyOP(create=QAOwner:Yong);
* Report smoke test suite's historical results 	TAF->propertyOP(create=QAOwner:Yong);
* Set tc5 Status = inactive 		TAF->propertyOP(create=TCStatus:inactive);
* Set all smoke tests with Status = Outdated TAF->propertyOP(create=TCStatus:outdated);
* Delete all smoke tests 		TAF->propertyOP(tcType=SmokeTest);
* List all TC Properties		TAF->PropertyOp(listProperties);
* Delete TC Properties			TAF->PropertyOp(delete=TCType:SmokeTest);
* defaultTCName = tc.pl

TAF reports test results on STDOUT and HTML

* List the lastest smoke test results		TAF->tcResult("Result")
* List the historical function test results 	TAF->tcResult("Log");
* List the historical function test results 	TAF->tcResult("HistoricalLog");
* List the Yong's test result

Programmer Level Test Report Operations:

* Record the TC log
* Record the TC historical log
* Generate Perl Driver tf.pl 

LICENSE This script is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR Yong Wang (ywangperl@gmail.com)