GADriverTest

TestCase subclass: #'GADriverTest' 

Overview

Please comment me using the following template inspired by Class Responsibility Collaborator (CRC) design:

For the Class part: State the name of the class with one line description: For example, I'm xxx the root of the hierarchy of visitor objects.

For the Responsibility part: Three sentences about my main responsibility, what I'm doing, what services do I offer.

For the Collaborators Part: State my main collaborators and one line about how I interact with them.

Public API and Key Messages

  • label item

One simple example is simply gorgeous.

Internal Representation and Key Implementation Points.

Instance Variables conn: <Object> fixture: <Object>
 

Implementation Points

Class Method Details

fixture:

fixture: aFixture 
Fixture := aFixture

Instance Method Details

createFixture

You should implement this method as a user of garage to make the tests run on your database. This method should return an instance of GADriverTestFixture with two connection strings: - setupConnectionString is the connection string used to create the initial database (if needed) - connection string is the connection string used to manipulate the created database.

Examples can be found in class GAContinuousIntegrationConfiguration

createFixture
self shouldBeImplemented
^ GADriverTestFixture
setupConnectionString: SetupConnectionString
connectionString: ConnectionString

setUp

setUp
super setUp
fixture := Fixture ifNil: self createFixture ].
fixture setUp
conn := fixture connection

tearDown

tearDown