Changeset 557


Ignore:
Timestamp:
Jul 5, 2013, 11:39:06 PM (8 years ago)
Author:
bob
Message:

Only run tests if Wiki::Toolkit:TestLib is available.

Add Wiki::Toolkit as a recommended module.

Location:
wiki-toolkit-plugin-json/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wiki-toolkit-plugin-json/trunk/Build.PL

    r472 r557  
    1212                    'URI::Escape' => 0,
    1313                  },
     14  recommends   => {
     15                    'Wiki::Toolkit' => 0,
     16                  },
    1417  license      => 'perl',
    1518  sign => 1,
  • wiki-toolkit-plugin-json/trunk/t/002_basic_invocation.t

    r532 r557  
    33use Test::More;
    44use Wiki::Toolkit::Plugin::JSON;
    5 use Wiki::Toolkit::TestLib;
     5#use Wiki::Toolkit::TestLib;
     6
     7eval "use Wiki::Toolkit::TestLib";
     8plan skip_all => "Wiki::Toolkit::TestLib needed to run tests" if $@;
    69
    710if ( scalar @Wiki::Toolkit::TestLib::wiki_info == 0 ) {
Note: See TracChangeset for help on using the changeset viewer.