p5-DBD-Mock-1.49.tgz


Advertisement

Description

p5-DBD-Mock - Perl5 module with mock database driver for testing

Property Value
Distribution NetBSD 8.1
Repository NetBSD amd64
Package filename p5-DBD-Mock-1.49.tgz
Package name p5-DBD-Mock
Package version 1.49
Package release -
Package architecture amd64
Package type tgz
Category databases perl5
Homepage https://metacpan.org/release/DBD-Mock
License gnu-gpl-v2 OR artistic
Maintainer -
Download size 31.66 KB
Installed size 136.65 KB
Testing with databases can be tricky. If you are developing a system
married to a single database then you can make some assumptions
about your environment and ask the user to provide relevant connection
information. But if you need to test a framework that uses DBI,
particularly a framework that uses different types of persistence
schemes, then it may be more useful to simply verify what the
framework is trying to do -- ensure the right SQL is generated and
that the correct parameters are bound. DBD::Mock makes it easy to
just modify your configuration (presumably held outside your code)
and just use it instead of DBD::Foo (like DBD::Pg or DBD::mysql)
in your framework.

Alternatives

Package Version Architecture Repository
p5-DBD-Mock-1.49.tgz 1.49 i386 NetBSD
p5-DBD-Mock - - -

Requires

Name Value
p5-DBI >= 1.3
perl >= 5.30.0 < 5.32.0

Download

Type URL
Mirror ftp.netbsd.org
Binary Package p5-DBD-Mock-1.49.tgz
Source Package p5-DBD-Mock

Install Howto

Install p5-DBD-Mock tgz package:

# pkg_add p5-DBD-Mock

See Also

Package Description
p5-DBD-ODBC-1.60nb1.tgz Perl DBI/DBD driver for ODBC
p5-DBD-PgPP-0.08nb8.tgz DBD::PgPP - Pure Perl PostgreSQL driver for the DBI
p5-DBD-SQLite-1.64.tgz Perl DBI/DBD driver for sqlite databases (self contained)
p5-DBD-SQLite2-0.38nb1.tgz Perl DBI/DBD driver for sqlite v2 databases
p5-DBD-Sybase-1.15nb11.tgz Perl DBI/DBD driver for Sybase/MS-SQL databases
p5-DBD-XBase-1.08nb3.tgz Perl DBI/DBD driver for XBase (dBase/FoxPro) databases
p5-DBD-mysql-4.050nb1.tgz Perl DBI/DBD driver for MySQL databases
p5-DBD-postgresql-3.9.1.tgz Perl DBI/DBD driver for PostgreSQL databases
p5-DBI-1.642nb1.tgz The database-independent Perl database access API
p5-DBI-Shell-11.95nb11.tgz Interactive command Shell for the Perl DBI
p5-DBICx-Deploy-0.02nb11.tgz Perl 5 module to deploy a a DBIx::Class schema
p5-DBICx-MapMaker-0.03nb9.tgz Perl 5 module to automatically create a DBIx::Class mapping table
p5-DBICx-Sugar-0.0200nb2.tgz Just some syntax sugar for DBIx::Class
p5-DBICx-TestDatabase-0.05nb7.tgz Perl 5 module to create temporary database from a DBIx::Class::Schema
p5-DBIWrapper-0.20nb16.tgz Perl extension for generic DBI database access
Advertisement
Advertisement