<p>In t/postgresql-rename-table-and-field.t:</p>
<pre style='color:#555'>> +use Test::Exception;
> +use DBI;
> +use SQL::Translator;
> +use SQL::Translator::Parser::PostgreSQL;
> +use SQL::Translator::Diff;
> +
> +eval "use DBD::Pg";
> +plan skip_all => "DBD::Pg required" if $@;
> +
> +eval "use Test::PostgreSQL";
> +plan skip_all => "Test::PostgreSQL required" if $@;
> +
> +my ( $pgsql, $dbh , $ddl, $ret );
> +
> +lives_ok { $pgsql = Test::PostgreSQL->new() } "create PostgreSQL instance";
> +lives_ok { $dbh = DBI->connect($pgsql->dsn) } "dbi connect";
</pre>
<p>Given that continuing if these fail is pointless, there's no point in wrapping them in lives_ok (which is effectively an eval).</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/dbsrgits/sql-translator/pull/44/files#r16600181">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/302594__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyNDMzNjg1NSwiZGF0YSI6eyJpZCI6NDAzODg2NjF9fQ==--6dd877b4533ba79f571a06e474e9b6c00789ba7f.gif" width="1" /></p>