• Email
  • Like
  • Save
  • Private Content
  • Embed
 

PgTAP Best Practices

by

  • 2,979 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

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

4 Embeds 459

http://justatheory.com 247
http://www.justatheory.com 205
http://www.slideshare.net 6
http://www.linkedin.com 1

Statistics

Likes
4
Downloads
70
Comments
0
Embed Views
459
Views on SlideShare
2,520
Total Views
2,979
Post Comment
Edit your comment

PgTAP Best Practices PgTAP Best Practices Presentation Transcript