Python

Node, Coverage and CubicWeb

published on by

This post was part of the now dead Unlish blog.

Writing unittests in CubicWeb cubes requires to use pytest, a test runner provided by logilab-devtools. Trying to use an other test runner is problematic, if not doomed to fail, as well as doing code coverage.

Fortunately, we can do something about it.

Read More...

pip install -e / setup.py develop on a cube

published on by

This post was part of the now dead Unlish blog.

The current layout of CubicWeb cubes is not setuptools friendly, and does not permit to use the “develop” mode. The CWEP 004, currently under discussion, aims to solve that problem, and once adopted make life easier for the developers.

Meanwhile, some people (like us at Unlish) would like to use the develop mode anyway, so that we can work on a cube without cloning the whole tree of CubicWeb requirements.

Read More...