Skip to content

comfort-framework/comfort-smother

Repository files navigation

COMFORT Smother

Build Status codecov

Description

COMFORT Smother is a fork and massivly reduced version of Smother. After the installation, it provides one plug-in for nose and a second plugin for py.test. After you have called any of these test programs with your tests, a .comfortsmother file is generated, which can then be used as input for the TestCoverageLoader of the COMFORT framework. This file includes coverage information based on each test method that is executed.

Build

From within the directory call

python setup.py install

Test

From within the directory call

make test

Use

You can just call your tests like always, but just including one/two more command line loaderOptions.

  • For nose call:
nosetests --with-comfortsmother --comfortsmother-package=<root_of_project_to_track> <path_to_tests>
  • For pytest call:
py.test --comfortsmother=<root_of_project_to_track> <path_to_tests>

About

COMFORT smother to generate per-test method coverage data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published