Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 674 Bytes

README.md

File metadata and controls

28 lines (18 loc) · 674 Bytes

Integration tests

Browser-based integration tests via splinter

These tests are independent of the Open Library context and can be run in any environment. They hit the actual website under test with real requests. Some tests rely on the presence of certain data being present.

Installation

Tested on Python 2.7.6, 2.7.12, 3.5.4

Google Chrome needs to be installed.

$ brew install chromedriver (on Mac) $ pip install splinter $ pip install pytest

Running tests

Verify correct Open Library host in test files.

  • Default: http://localhost:8080

For now, need to manually add an Edition to a new List just once.

$ cd tests/integration $ pytest