Граф коммитов

3 Коммитов

Автор SHA1 Сообщение Дата
Gunes Acar 16d67cd803 Move boilerplate get_config code to the parent test class.
Read the python modules to be tested from requirements.txt

Add tests to make sure firefox-bin directory and the Firefox
binary within exist.

Fix some PEP8 warnings in the test code.

Remove unused imports.
2016-12-18 20:52:23 +01:00
Gunes Acar c20d9b548f Add travis.yml file to run continuous integration tests.
Install pytest for Travis tests.
Move python dependencies to requirements.txt.

Use mmh3 instead of pyhash

pyhash cannot be installed on Travis due to an outdated check
for libboost_python.so. mmh3 seems to be better maintained and
more widely used.
2016-04-23 14:55:39 +02:00
Gunes Acar c9e1ed8ab0 Inject intrumentation code to page content as a script element.
Add a manual_test module to make it easy to run interactive tests.

Add plugin and mimeType instrumentation.

Log line number, column number of the calling function and stack
entries.

Add local test files for Flash cookie and JS cookie testing.

Add test to make sure the required Python and OS packages are installed.

Mark test_crawl as "slow" to easily avoid calling it. Running
py.test -m "not slow" will exclude crawl test but will run all the
remanining tests.

Add test utility functions to DRY test code.

Add a WebRTC test.

Add a parent class and visit method for the tests.

Fix address in use errors related to local server
by using a py.test fixture with session scope.
2016-04-12 02:47:05 +02:00