Open GoogleCodeExporter opened 9 years ago
As new code is being released, I'm trying to get the regular unittest module to
work with brython. Currently things get stuck on the from import statements
since brython does not support this feature yet. I'll post updates on my
progress as new features are added to brython.
Original comment by billy.earney@gmail.com
on 17 Feb 2013 at 12:04
Currently I test a set of features using a specific page /tests/index.html (for
instance on the Brython site at http://brython.info/tests/index.html). Test
scripts are loaded from the buttons such as "test_suite.py", then run and I
check that all tests pass
For instance I made a test script with all the issues on the tracker that are
fixed at release date
Developers can edit the page and add other test scripts
I began working on the test scripts provided in the Python standard
distribution and adapt them to the Brython environment, but it's a huge work...
Original comment by pierre.q...@gmail.com
on 17 Feb 2013 at 8:56
I am working on a testing tool.
A list of tests statements are manually defined.
The tool automatically compares Python3 output and Brython output.
It is already functionnal but I'd like to refine it a little bit before release.
Original comment by d...@famillepinault.fr
on 22 Feb 2013 at 8:09
I keep making progress of using python's unittest module in brython. Issue 88
implements relative imports (which is used by unittest). I'm currently stuck
on decorators, brython currently doesn't support them, so for the time being we
probably should continue using the assert function Pierre has created or
Nicolas' solution when it is ready.
Original comment by billy.earney@gmail.com
on 27 Feb 2013 at 2:06
Original issue reported on code.google.com by
Glyph.Lefkowitz
on 13 Feb 2013 at 1:21