Models

class quade.models.Scenario(*args, **kwargs)[source]

A specific scenario that QA tests will be run against.

The heart of a Scenario is the config attribute. config is a list of several fixtures, possibly with arguments, which are executed sequentially to create and modify objects in the database.

class quade.models.Record(*args, **kwargs)[source]

A record of setting up, and possibly executing, a particular Scenario.

execute_test()[source]

Public method for attempting to execute a test scenario. Exceptions put the record in the FAILED state and re-raise.

class quade.models.RecordedObject(*args, **kwargs)[source]

A joiner table for creating a generic many-to-many relation between Records and any other objects.