Result:
found 9 distributions and 36 files matching your query ! ( run in 0.687 )


Acme-DependOnEverything

 view release on metacpan or  search on metacpan

lib/Acme/DependOnEverything.pm  view on Meta::CPAN

use Test::MockPackages;
use Test::MockRandom;
use Test::Mock::Recorder;
use Test::Mock::Redis;
use Test::Mock::Signature;
use Test::Mock::Simple;
use Test::MockSleep;
use Test::Mock::Test;
use Test::MockTime;
use Test::MockTime::DateCalc;
use Test::MockTime::HiRes;

 view all matches for this distribution


Bundle-CPAN-Reporter-Smoker-Tests

 view release on metacpan or  search on metacpan

lib/Bundle/CPAN/Reporter/Smoker/Tests.pm  view on Meta::CPAN

    Devel::NYTProf [5.06]
    Text::Diff [1.41]
    DBD::Mock [1.45]
    Test::Expect [0.31]
    Test::Class [0.46]
    Test::Mock::Simple [0.04]
    Test::MockTime [0.12]
    Test::Class::Moose [0.54]
    Test::HTML::Tidy [1.00]
    Test::Simple [1.302019]
    Test::Reporter::Transport::Socket [0.32]

 view all matches for this distribution


Dist-Zilla-PluginBundle-Author-TABULO

 view release on metacpan or  search on metacpan

Notes/cpan-namespaces/cpan-namespaces-L1-L3.txt  view on Meta::CPAN

Test::Mock::Net
Test::Mock::One
Test::Mock::Recorder
Test::Mock::Redis
Test::Mock::Signature
Test::Mock::Simple
Test::Mock::Test
Test::Mock::Time
Test::Mock::Two
Test::Mock::Wrapped
Test::Mock::Wrapper

 view all matches for this distribution


Net-Fritz

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

            "File::Path" : "0",
            "HTTP::Response" : "0",
            "Test::DescribeMe" : "0",
            "Test::Exception" : "0",
            "Test::Mock::LWP::Dispatch" : "0",
            "Test::Mock::Simple" : "0",
            "Test::More" : "0",
            "Test::TempDir::Tiny" : "0",
            "perl" : "5.006"
         }
      }

 view all matches for this distribution


Task-Test

 view release on metacpan or  search on metacpan

META.yml  view on Meta::CPAN

  Test::HTML::Tidy: '1.00'
  Test::Inline: '2.213'
  Test::Kwalitee: '1.19'
  Test::LongString: '0.15'
  Test::Memory::Cycle: '1.04'
  Test::Mock::Simple: '0.04'
  Test::MockObject: '1.20140408'
  Test::MockTime: '0.12'
  Test::More: '1.001003'
  Test::Most: '0.33'
  Test::NoWarnings: '1.04'

 view all matches for this distribution


Test-Mock-Simple

 view release on metacpan or  search on metacpan

lib/Test/Mock/Simple.pm  view on Meta::CPAN

package Test::Mock::Simple;

use 5.008008;
use strict;
use warnings;

lib/Test/Mock/Simple.pm  view on Meta::CPAN

1;
__END__

=head1 NAME

Test::Mock::Simple - A simple way to mock out parts of or a whole module.

=head1 SYNOPSIS

  use Test::Mock::Simple;

  my $total = 0;

  # Original::Module has methods increase, decrease, and sum
  my $mock = Test::Mock::Simple->new(module => 'Original::Module');
  $mock->add(increase => sub { shift; return $total += shift; });
  $mock->add(decrease => sub { shift; return $total -= shift; });

  my $obj = Original::Module->new();
  $obj->increase(5);

lib/Test/Mock/Simple.pm  view on Meta::CPAN

This is useful when a single file declares multiple namespaces or in the event of bad
coding where the module's namespace does not map to the module's location.

Example:

  use Test::Mock::Simple;

  my $mock = Test::Mock::Simple->new(
    module          => 'Original::Module',
    module_location => 'Modules/Orignal/Module.pm',
  );

=back

 view all matches for this distribution


Ticketmaster-API

 view release on metacpan or  search on metacpan

t/Mock/Ticketmaster/API.pm  view on Meta::CPAN


use strict;
use warnings;

use Storable;
use Test::Mock::Simple;

my $mock = Test::Mock::Simple->new( module => 'Ticketmaster::API', allow_new_methods => 1);

# Requires: method, path_template (sprintf string), parameters (hash ref)
$mock->add( get_data => sub {
    my $self = shift;
    my %args = @_;

 view all matches for this distribution


XML-BindData

 view release on metacpan or  search on metacpan

META.yml  view on Meta::CPAN

---
abstract: 'Bind Perl data structures into XML'
author:
  - 'Neil Kirsopp <cpan@pneumatoscopic.net>'
build_requires:
  Test::Mock::Simple: '0'
  Test::More: '0'
  Test::Warnings: '0'
configure_requires:
  ExtUtils::MakeMaker: '0'
dynamic_config: 0

 view all matches for this distribution


xml-binddata

 view release on metacpan or  search on metacpan

META.yml  view on Meta::CPAN

---
abstract: 'Bind Perl data structures into XML'
author:
  - 'Neil Kirsopp <cpan@pneumatoscopic.net>'
build_requires:
  Test::Mock::Simple: '0'
  Test::More: '0'
configure_requires:
  ExtUtils::MakeMaker: '0'
dynamic_config: 0
generated_by: 'Dist::Zilla version 5.032, CPAN::Meta::Converter version 2.143240'

 view all matches for this distribution


( run in 0.687 second using v1.01-cache-2.11-cpan-71847e10f99 )