utPLSQL Test Runner

Run and debug utPLSQL (Oracle PL/SQL) unit tests against any Oracle database, right in VS Code — native Test Explorer, visual test coverage, a PL/SQL debugger and Oracle-direct execution via node-oracledb.

26 UI languages · VS Code 1.125+ · Oracle 12.1+ (thin, matrix 12.2+) / 11.2+ (thick) · MIT

Marketplace version Installs CI status TypeScript

Install from the Marketplace View on GitHub Buy Me a Coffee

See it in action

VS Code Test Explorer showing utPLSQL suites and tests, with Run and Run with Coverage CodeLens

Native Test Explorer — run, debug and see results without leaving VS Code. The link opens the demo recording.

Why use it

Get started

  1. Install the extension from the VS Code Marketplace.
  2. Have an Oracle database with the utPLSQL framework (UT3) installed.
  3. Configure a connection and open a .pks suite — tests show up in the Test Explorer.

Documentation

Full guides live on the project wiki: installation, connection, quick start, coverage, debugger, settings and troubleshooting.

Architecture diagram: VS Code extension, Oracle-direct runner and Test Explorer

FAQ

What is utPLSQL Test Runner?

A VS Code extension that runs, debugs and covers utPLSQL (Oracle PL/SQL) unit tests against an Oracle database. Suites and tests appear in the native Test Explorer, with visual test coverage and a PL/SQL debugger.

Which VS Code and Oracle versions are supported?

VS Code 1.125+ and Oracle Database 12.1+ (thin; validated matrix from 12.2) or 11.2+ (thick). The thin driver (node-oracledb) works out of the box; optional thick mode requires Oracle Instant Client 19c+ and covers environments that require Native Network Encryption.

Do I need the utPLSQL framework installed in the database?

Yes. Install the utPLSQL framework (UT3) in the Oracle database — per-schema or shared install — and grant the privileges the extension validates during setup.

Does it provide test coverage?

Yes. Statement and view coverage with colored gutters per line and per-file percentages in the Coverage tab. Coverage requires GRANT EXECUTE ON DBMS_PROFILER; Oracle 12.2+ also requires DBMS_PLSQL_CODE_COVERAGE (11g uses only DBMS_PROFILER).

Can I debug PL/SQL tests?

Yes. Set breakpoints and step through utPLSQL tests with the native PL/SQL debugger (DBMS_DEBUG). Requires DEBUG CONNECT SESSION and EXECUTE ON SYS.DBMS_DEBUG.