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.