×
  • Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
 

PgTAP Best Practices

by Software Developer at Kineticode, Inc. & PostgreSQL Experts, Inc. on Nov 04, 2009

  • 4,181 views

So you've got testing religion, but the question now is, how do you test your database? ...

So you've got testing religion, but the question now is, how do you test your database?

This tutorial introduces pgTAP, a comprehensive, easy-to-use test suite for PostgreSQL. We'll work from getting and installing pgTAP, to writing a simple test, to running the test and integrating it into your test environment. And then we really get into the fun stuff:

Testing scalar values
Testing error conditions and performance regressions
Testing database schemas, including tables, columns, constraints, indexes, triggers, etc.
Testing result sets
Testing procedures

Testing may sound like a dry topic, but my examples aren't! Come join the fun!

Statistics

Views

Total Views
4,181
Views on SlideShare
3,695
Embed Views
486

Actions

Likes
5
Downloads
83
Comments
0

5 Embeds 486

http://justatheory.com 265
http://www.justatheory.com 213
http://www.slideshare.net 6
http://www.linkedin.com 1
http://li421-160.members.linode.com 1

Accessibility

Categories

Upload Details

Uploaded via SlideShare as Apple Keynote

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
Post Comment
Edit your comment

PgTAP Best Practices PgTAP Best Practices Presentation Transcript