Changes between Version 2 and Version 3 of Features/AutomatedBuildAndTest


Ignore:
Timestamp:
Mar 23, 2011, 2:22:12 PM (3 years ago)
Author:
bowtie
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Features/AutomatedBuildAndTest

    v2 v3  
    11== Description == 
    22 
    3 Support for creating and running unit tests 
     3Support for creating and running unit tests \\ 
     4You need to run perl *.PL first (see [#test2 Test 2] below). 
    45 
    56 * '''Run -> Run Tests''' 
     
    1415== Test == 
    1516 
     17=== Setup 
     18* Module::Build (MB) 
     19 * module-starter --mb --module=Module::Build --author="Fred Bloggs" --email=fb@bloggs.com --verbose 
     20* ExtUtils::MakeMaker (EUMM) 
     21 * module-starter --eumm --module=ExtUtils::MakeMaker --author="Fred Bloggs" --email=fb@bloggs.com --verbose 
     22* Module::Install (MI) 
     23 * module-starter --mi --module=Module::Install --author="Fred Bloggs" --email=fb@bloggs.com --verbose 
     24 
     25=== Test 
     26All test run in order left -> right 
     27 
     28==== Test 1 
     29run against a vanilla build. 
     30 
     31||=||=Run This Test=||=Run Test=||=Run Build and Test=||=Run Tests=|| 
     32||EUMM=||=Pass=||=Fail=||=Fail=||=Fail=|| 
     33||MB=||=Pass=||=Fail=||=Fail=||=Fail=|| 
     34||MI=||=Fail=||=Fail=||=Fail=||=Fail=|| 
     35 
     36==== Test 2 [=#test2] 
     37run against  a vanilla build, followed by: 
     38* EUMM perl Makefile.Pl 
     39* MB perl Build.PL 
     40* MI perl Makefile.PL 
     41 
     42||=||=Run This Test=||=Run Test=||=Run Build and Test=||=Run Tests=||= Run This Test=|| 
     43||EUMM=||=Pass=||=Fail=||=Pass=||=Pass=||=Pass=|| 
     44||MB=||=Pass=||=Fail=||=Pass=||=Pass=||=Pass=|| 
     45||MI=||=Fail=||=Fail=||=Pass=||=Pass=||=Pass=|| 
     46 
     47==== Test 3 
     48run against a vanilla build. 
     49 
     50Padre/lib/Padre/Wx/Main.pm 
     51 
     52sub on_run_this_test { 
     53 
     54line 2590 approx. 
     55 
     56$self->run_command("$prove -lv $filename"); 
     57 
     58 
     59||=||=Run This Test=||=Run Test=||=Run Build and Test=||=Run Tests=|| 
     60||EUMM=||=Pass=||=Fail=||=Fail=||=Fail=|| 
     61||MB=||=Pass=||=Fail=||=Fail=||=Fail=|| 
     62||MI=||=Pass=||=Fail=||=Fail=||=Fail=|| 
     63 
    1664 
    1765== TODO ==