Skip to content

comfort-framework/comfort-callgraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

COMFORT CallGraph

Build Status codecov

Description

COMFORT CallGraph tracks the execution of the tests and generates a call graph based on it. 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 .callgraph file is generated, which can then be used as input for the CallGraphLoader 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-callgraph --callgraph-package=<root_of_project_to_track> <path_to_tests>
  • For pytest call:
py.test --callgraph=<root_of_project_to_track> <path_to_tests>

About

Creates a callgraph for the execution of python tests

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published