[ Home | Getting Started | Build Test Packages | Examples | User Guide | Release Notes | Document Map ]
< Previous Section: Getting Started | Next Section: The Four Step Program to using utPLSQL >
The schema owning utPLSQL objects must have the ability to create tables and packages.
If you want utPLSQL to automatically recompile test packages for you, you will need to have UTL_FILE installed and configured to read from the directory or directories in which your package source files are located.
Optional: The Ability to create public synonyms. The installation script will attempt to create public synonyms. If your schema does not hae the authority to do so, these commands will fail, but utPLSQL will still be available for use in the owning schema.
If you install and use utPLSQL from within a single schema (ie, the same schema that owns utPLSQL code and tables owns the code you want to test, as well as the test packages), then no additional privileges are needed.
If, however, you install utPLSQL in a shared schema and then access it from other schemas, you may need to grant additional privileges to the utPLSQL schema. utPLSQL uses dynamic PL/SQL to run the test code. It therefore requires directly granted EXECUTE privileges on those code elements (both the code to be tested and the test packages) -- or the AUTHID CURRENT_USER capability of Oracle8i and above.
You do not need to grant any additional privileges, unless you want to test code owned by one schema from another schema. In that case, you will need to grant EXECUTE to the schema from which you run your tests on both the code to be tested and the test package.
You must grant EXECUTE to the utPLSQL schema on both the code to be tested and the test package. These grants must be made directly and not through roles.
< Previous Section: Getting Started | Next Section: The Four Step Program to using utPLSQL >
Copyright (C) 2000-2005 Steven Feuerstein, Chris Rimmer, Patrick Barel All rights reserved