-
-
Notifications
You must be signed in to change notification settings - Fork 473
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unit tests support. Partially done. #59
Comments
Improve shutting down cleanly with ExceptHook. Fix issue with str/bytes passed to Debug() function (#110).
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. |
Display summary with real number of tests ran including sub-tests in main_test. Ensure that messages are coming from Javascript in OnConsoleMessage. Automate checking for True/False asserts in ClientHandler and External.
OSR unit test is available in Pull Request #375. |
Add Browser.SetAccessibilityState. Add AccessibilityHandler (OSR mode). Add cef.SetGlobalClientHandler. Add osr_test.py unittest for off-screen rendering mode (#59). Refactor main_test.py. Update tools/apidocs.py - generate TOCs by default Update tools/build_distrib.py - run all unit tests
Off-screen rendering tests added in rev e72609c. |
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:02The text was updated successfully, but these errors were encountered: