roadlabs / cefpython

Automatically exported from code.google.com/p/cefpython
0 stars 0 forks source link

Unit tests support #59

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It would be nice to have automated tests, so we can detect 
some feature breaks.

Take a look at the CEF unit tests:
https://code.google.com/p/chromiumembedded/source/browse/trunk/cef1/tests/unitte
sts/

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

GoogleCodeExporter commented 9 years ago
The CEF 3 unit tests:
https://code.google.com/p/chromiumembedded/source/browse/trunk/cef3/tests/unitte
sts/

Original comment by czarek.t...@gmail.com on 29 May 2013 at 4:03

GoogleCodeExporter commented 9 years ago
Right now most of the tests of the features are in the cefadvanced.py
and wxpython.py scripts, but you need to manually test it.

Original comment by czarek.t...@gmail.com on 29 May 2013 at 4:06

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
In Cython code whenever possible static types are used. This helps discover 
bugs early during compilation stage. Though, not everything can be static 
typed. For example for strings a py_string type is used, which is defined as a 
general python object. So it's not that bad that cefpython doesn't have unit 
tests, but it's also not good.

Original comment by czarek.t...@gmail.com on 18 Jan 2014 at 11:39

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago

Original comment by czarek.t...@gmail.com on 14 Jan 2015 at 6:37

GoogleCodeExporter commented 9 years ago
There was a release for Mac recently. Right now I'm working 64bit release for 
Windows. Next in the plans are releases for Python 3.4. This will give us in 
total 12 configurations to test with each new release (Mac+Linux+Win * 
32bit+64bit * Py27+Py34). It would be a nightmare to test this manually. We 
need unit tests. Giving this a high priority.

Original comment by czarek.t...@gmail.com on 16 Jan 2015 at 7:51