Table of Contents

Class: SQLChecker ./src/peak/ddt/processors.py

Check records from a database

This RecordChecker subclass checks results from an SQL query. In its simplest form, it performs a SELECT * FROM table query if you supply it with a testTable constructor argument. Alternatively, you can supply a testSQL argument to specify the SQL to execute.

By default, the SQL will be run against a connection object found under the peak.ddt.testDB property name. You should define this property in a [Named Services] section of your test configuration file(s).

Alternatively, you can supply a connection object as the testDB constructor argument, or supply a dbKey constructor argument to change the configuration key to something other than peak.ddt.testDB.

Base Classes   
RecordChecker
Methods   
getMapper
methodNameFor
  getMapper 
getMapper ( self,  name )

  methodNameFor 
methodNameFor ( self,  text )


Table of Contents

This document was automatically generated on Mon Apr 22 01:11:05 2024 by HappyDoc version 2.1