Package mvpa :: Package tests

[hide private]
[frames] | no frames]

# Package tests

source code

Unit test interface for PyMVPA

Submodules | [hide private]

- mvpa.tests.main: Unit test console interface for PyMVPA
- mvpa.tests.runner: Helper module to enable profiling of the testcase
- mvpa.tests.test_args: Unit tests for PyMVPA args helpers
- mvpa.tests.test_arraymapper: Unit tests for PyMVPA dense array mapper
- mvpa.tests.test_atlases: Unit tests for PyMVPA atlases
- mvpa.tests.test_base: Test some base functionality which did not make it into a separate unittests
- mvpa.tests.test_boxcarmapper: Unit tests for PyMVPA Boxcar mapper
- mvpa.tests.test_clf: Unit tests for PyMVPA basic Classifiers
- mvpa.tests.test_clfcrossval: Unit tests for PyMVPA classifier cross-validation
- mvpa.tests.test_cmdline: Unit tests for PyMVPA cmdline helpers
- mvpa.tests.test_config: Unit tests for PyMVPA dense array mapper
- mvpa.tests.test_datameasure: Unit tests for PyMVPA SplittingSensitivityAnalyzer
- mvpa.tests.test_dataset: Unit tests for PyMVPA dataset handling
- mvpa.tests.test_datasetfx: Unit tests for PyMVPA miscelaneouse functions operating on datasets
- mvpa.tests.test_datasetfx_sp: Unit tests for PyMVPA miscelaneouse functions operating on datasets and requiring SciPy
- mvpa.tests.test_datasetng: Tests for the dataset implementation
- mvpa.tests.test_dochelpers: Unit tests for PyMVPA dochelpers
- mvpa.tests.test_eepdataset: Unit tests for PyMVPA EEP dataset
- mvpa.tests.test_enet: Unit tests for PyMVPA least angle regression (ENET) classifier
- mvpa.tests.test_externals: Test externals checking
- mvpa.tests.test_gnb: Unit tests for PyMVPA GNB classifier
- mvpa.tests.test_gpr: Unit tests for PyMVPA GPR.
- mvpa.tests.test_hamster: Unit tests for PyMVPA Hamster
- mvpa.tests.test_hyperalignment: Unit tests for PyMVPA ...
- mvpa.tests.test_icamapper: Unit tests for PyMVPA ICA mapper
- mvpa.tests.test_ifs: Unit tests for PyMVPA incremental feature search.
- mvpa.tests.test_iohelpers: Unit tests for PyMVPA IO helpers
- mvpa.tests.test_kernel: Unit tests for PyMVPA kernels
- mvpa.tests.test_knn: Unit tests for PyMVPA kNN classifier
- mvpa.tests.test_lars: Unit tests for PyMVPA least angle regression (LARS) classifier
- mvpa.tests.test_maskeddataset: Unit tests for PyMVPA pattern handling
- mvpa.tests.test_meg: Unit tests for PyMVPA MEG stuff
- mvpa.tests.test_metadataset: Unit tests for PyMVPA meta dataset handling
- mvpa.tests.test_neighbor: Unit tests for PyMVPA metrics
- mvpa.tests.test_niftidataset: Unit tests for PyMVPA nifti dataset
- mvpa.tests.test_params: Unit tests for PyMVPA Parameter class.
- mvpa.tests.test_pcamapper: Unit tests for PyMVPA PCA mapper
- mvpa.tests.test_perturbsensana: Unit tests for PyMVPA perturbation sensitivity analyzer.
- mvpa.tests.test_plr: Unit tests for PyMVPA logistic regression classifier
- mvpa.tests.test_pls: Unit tests for Partial Least Squares measures.
- mvpa.tests.test_procrust: Unit tests for PyMVPA Procrustean mapper
- mvpa.tests.test_regr: Unit tests for PyMVPA Regressions
- mvpa.tests.test_report: Unit tests for PyMVPA simple report facility
- mvpa.tests.test_rfe: Unit tests for PyMVPA recursive feature elimination
- mvpa.tests.test_ridge: Unit tests for PyMVPA ridge regression classifier
- mvpa.tests.test_samplegroupmapper: Unit tests for PyMVPA SampleGroup mapper
- mvpa.tests.test_searchlight: Unit tests for PyMVPA searchlight algorithm
- mvpa.tests.test_smlr: Unit tests for PyMVPA sparse multinomial logistic regression classifier
- mvpa.tests.test_som: Unit tests for PyMVPA SOM mapper
- mvpa.tests.test_splitsensana: Unit tests for PyMVPA SplittingSensitivityAnalyzer
- mvpa.tests.test_splitter: Unit tests for PyMVPA pattern handling
- mvpa.tests.test_state: Unit tests for PyMVPA State parent class
- mvpa.tests.test_stats: Unit tests for PyMVPA stats helpers
- mvpa.tests.test_stats_sp: Unit tests for PyMVPA stats helpers -- those requiring scipy
- mvpa.tests.test_suite: Unit test for PyMVPA mvpa.suite() of being loading ok
- mvpa.tests.test_support: Unit tests for PyMVPA serial feature inclusion algorithm
- mvpa.tests.test_svdmapper: Unit tests for PyMVPA SVD mapper
- mvpa.tests.test_svm: Unit tests for SVM classifier
- mvpa.tests.test_transerror: Unit tests for PyMVPA classifier cross-validation
- mvpa.tests.test_transformers: Unit tests for PyMVPA transformers.
- mvpa.tests.test_verbosity: Unit tests for PyMVPA verbose and debug output
- mvpa.tests.test_waveletmapper: Unit tests for PyMVPA Wavelet mappers
- mvpa.tests.test_zscoremapper: Unit tests for PyMVPA ZScore mapper
- mvpa.tests.tests_warehouse: Miscelaneous functions/datasets to be used in the unit tests
- mvpa.tests.tests_warehouse_clfs: Provides clfs dictionary with instances of all available classifiers.

Functions | [hide private]

collectTestSuites() Runs over all tests it knows and composes a dictionary with test suite instances as values and IDs as keys. | source code

run(limit=None, verbosity=None) Runs the full or a subset of the PyMVPA unittest suite. | source code

Imports: unittest, np, _random_seed, cfg, externals, warning

Function Details | [hide private]

### collectTestSuites()

source code

    Runs over all tests it knows and composes a dictionary with test suite
    instances as values and IDs as keys. IDs are the filenames of the unittest
    without '.py' extension and 'test_' prefix.

    During collection this function will run a full and verbose test for all
    known externals.

### run(limit=None, verbosity=None)

source code

Runs the full or a subset of the PyMVPA unittest suite.

Parameters:
  - `limit`, `None`, `|`, `list` - If None, the full test suite is run. Alternatively, a list with test IDs can be provides. IDs are the base filenames of the test implementation, e.g. the ID for the suite in 'mvpa/tests/test_niftidataset.py' is 'niftidataset'.
  - `verbosity`, `None`, `|`, `int` - Verbosity of unittests execution. If None, controlled by PyMVPA configuration tests/verbosity. Values higher than 2 enable all Python, NumPy and PyMVPA warnings