"We ain't got no time! Pragmatic testing with utPLSQL"
summary
Shows how to add pragmatic automated tests to PL/SQL using utPLSQL to turn packages into test suites, runs tests with UT_RUN, and gets readable failures. Builds a friend‑of‑foe detector and a welcome message generator, controls database state with a negative primary key setup and BEFORE_ALL setup, and uses SQLcl plus a small plugin to capture a golden master snapshot for approval testing. Explains rollback behavior, --force manual rollback to persist fixtures, and uses risk/value/cost/change criteria to pick tests to automate.
AI-written summary · about
chapters (15)
- 0:00Introduction
- 2:37Friendfo detection
- 6:42utPLSQL
- 13:19Software unit tests are inseparable
- 14:15What is a test
- 15:26An urgent message
- 16:59State is everywhere
- 22:14Input outputs
- 23:10Unit tests
- 25:47Automate
- 26:19Angie Jones model
- 27:26Angie Jones criteria
- 29:02Another urgent email
- 35:22Scripting test results
- 41:42Questions
