cztomczak / cefpython

Python bindings for the Chromium Embedded Framework (CEF)
Other
3.06k stars 472 forks source link

Unit tests support. Partially done. #59

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago

Right now most features are being tested by running the wxpython.py example and testing features manually.

Take a look at CEF unit tests: https://bitbucket.org/chromiumembedded/cef/src/master/tests/unittests/

Create "unittests/" directory in repo's root directory.

Created unit tests runner that allows running IsolatedTest cases that are needed for some CEF testing: https://github.com/cztomczak/pycef/blob/master/unittests/_runner.py

Original issue reported on code.google.com by czarek.t...@gmail.com on 29 May 2013 at 4:02

cztomczak commented 7 years ago

Unit tests that test basic functionality (initialization, shutdown, browser creation, client handlers, javascript bindings and py<>js callbacks) were added in commit 80d7c5a.

On the API-index.md page there are about 400 items in total (objects, functions, settings). Currently there are 25 sub-tests in main_test.py, so that's a only about 6% coverage.

cztomczak commented 7 years ago

OSR unit test is available in Pull Request #375.

cztomczak commented 6 years ago

Off-screen rendering tests added in rev e72609c.