Wrong confirmation ID
  • Email
  • Favorite
  • Download
  • Embed
  • Private Content

Loading…

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

PgTAP Best Practices

by David Wheeler on Nov 04, 2009

  • 2,064 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!

Accessibility

Categories

Tags

pgtap pgsql unit-testing database sql testing postgresql conference west 2009 plpgsql tap postgresql unit test

More...

Upload Details

Uploaded via SlideShare as Apple Keynote

Usage Rights

© All Rights Reserved

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel

3 Embeds 223

http://justatheory.com 199
http://www.justatheory.com 18
http://www.slideshare.net 6

Statistics

Favorites
3
Downloads
61
Comments
0
Embed Views
223
Views on SlideShare
1,841
Total Views
2,064
Post Comment
Edit your comment Cancel

PgTAP Best Practices — Presentation Transcript