Files changed (3)
+`pytest-incremental` is a `pytest <http://pytest.org/>`_ plugin. So if you can run your test suite with pytest you can use `pytest-incremental`.
+The plugin will analyse your python source files and through its imports define the dependencies of the modules. `doit <http://python-doit.sourceforge.net>`_ is used to keep track of the dependencies and save results. The plugin will modify how pytest collect your tests. pytest do the rest of the job of actually running the tests and reporting the results.
+You can also just grab the plugin `module <https://bitbucket.org/schettino72/pytest-incremental/src/tip/pytest_incremental.py>`_ file and put in your project path. Then enable it (check `pytest docs <http://pytest.org/plugins.html#requiring-loading-plugins-in-a-test-module-or-conftest-file>`_).
+By default all modules collected by pytest will used as dependencies if imported. In order to limit or extend the watched folders you must use the parameter ``--watch-pkg``
+``pytest-incremental`` looks for imports recursively to find dependencies (using AST). But given the very dynamic nature of python there are still some cases that a module can be affected by a module that are not detected.
+ * `from package import *` modules imported from __all__ in a package are not counted as a dependency
+ * modules not explictitly imported but used at runtime (i.e. conftest.py when running your tests with pytest)
+ - Project code + issue track on `bitbucket <https://bitbucket.org/schettino72/pytest-incremental>`_