Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 677 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 677 Bytes

A sample acceptance test image

This directory is used to build a Docker image that runs acceptance tests against the sample application.

When a container is run with this image, it will start tests. A typical test session runs like that:

  • Start a test composition:

    • The sample application
    • Two instances of PostgresQL (master and slave), with the test table and some test data in them (done in the master_db_setup and slave_db_setup fixtures).
  • For each test:

    • Establish an HTTP session with the sample application (see the app_connection fixture)
    • Exercise the application's API and check the results