#unit-testing
- Introducing MyTAP
https://justatheory.com/2010/07/introducing-mytap
After some prodding from the MySQL Community Manager, some OSCON hacking yields tangible results.
- Introducing pgTAP
https://justatheory.com/2008/06/introducing-pgtap
So I started working on a new PostgreSQL data type this week. More on that soon; in the meantime, I wanted to create a test suite for it, and wasn’t sure where to go. The only PostgreSQL tests I’ve seen are those distributed with Elein Mustain’s tests for the email data type she created in a PostgreSQL General Bits posting from a couple of years ago. I used the same approach myself for my GTIN data type, but it was rather hard to use: I had to pay very close attention to what was output in order to tell the description output from the test output. It was quite a PITA, actually.
Follow #unit-testing
on RSS or use the
JSON API
curl -X GET \
-H "Content-type: application/json" \
-H "Accept: application/json" \
"https://octothorp.es/~/unit-testing"