Suppose you selected a single test:
and want to inspect the ID database database status.
npm test -- -g 'cli: empty document'
On SQLite it is not currently possible as tests run on a temporary in-memory database. TODO create a way.
On PostgreSQL, you can just inspect the
ourbigbook_clitable with the
psqlcommand line executable, e.g..
That table is used to run each test, and will contain the contents of the last test executed.
psql ourbigbook_cli -c 'select * from "Id"'