automatminer.tests package¶
Submodules¶
automatminer.tests.test_base module¶
Tests for the base classes.
-
class
automatminer.tests.test_base.
TestBaseTransformers
(methodName='runTest')¶ Bases:
unittest.case.TestCase
-
setUp
()¶ Hook method for setting up the test fixture before exercising it.
-
test_DFTransformer
()¶
-
test_DFTransformer_BaseEstimator_behavior
()¶
-
-
class
automatminer.tests.test_base.
TestTransformerBad
¶ Bases:
automatminer.base.DFTransformer
A test transformer, implemented incorrectly.
-
class
automatminer.tests.test_base.
TestTransformerGood
(config_attr)¶ Bases:
automatminer.base.DFTransformer
A test transformer and logger.
- Parameters
config_attr – Some attr to be set at initialization
-
fit
(**kwargs)¶
-
transform
(**kwargs)¶
automatminer.tests.test_pipeline module¶
Tests for the top level interface.
-
class
automatminer.tests.test_pipeline.
MatPipeDebugSingleTest
(methodName='runTest')¶ Bases:
automatminer.tests.test_pipeline.TestMatPipe
-
class
automatminer.tests.test_pipeline.
MatPipeDebugTest
(methodName='runTest')¶ Bases:
automatminer.tests.test_pipeline.TestMatPipe
-
class
automatminer.tests.test_pipeline.
TestMatPipeSetup
(methodName='runTest')¶ Bases:
unittest.case.TestCase
-
setUp
()¶ Hook method for setting up the test fixture before exercising it.
-
test_from_preset
()¶
-
test_instantiation
()¶
-
-
automatminer.tests.test_pipeline.
make_matpipe_test
(config_preset, skip=None)¶ Create a full matpipe test suite for a particular preset.
- Parameters
- Returns
- A unittest for MatPipe as specifically
implemented by a preset.
- Return type
TestMatPipe (unittest)
automatminer.tests.test_presets module¶
Testing the preset configurations for MatPipe.
Mainly ensuring all args can be passed to matpipe constituent parts correctly.