Commit Graph

73 Commits

Author SHA1 Message Date
Martin A. Brown d91f253bd4 pep8 and pyflakes fixes 2016-02-16 19:55:40 -08:00
Martin A. Brown 9845e90a39 adding testing for execute and new function getfileset 2016-02-16 19:52:07 -08:00
Martin A. Brown b23a2ef1c5 adapt to changes in tldptesttools 2016-02-16 14:15:46 -08:00
Martin A. Brown ce060fc5d0 improving coverage of cases in OutputDirectory and OutputCollection 2016-02-16 14:15:15 -08:00
Martin A. Brown b9defe3e8b more genericization of testing code 2016-02-16 14:12:42 -08:00
Martin A. Brown 8ae6cf7d69 renaming examples.sources to example.sources 2016-02-16 11:11:37 -08:00
Martin A. Brown 9df21df31a renaming examples.examples to examples.sources 2016-02-16 11:10:32 -08:00
Martin A. Brown d392965862 factoring out common testing utilities
renamed TestSourceCollection to TestToolsFilesystem for use in
testing both sources.py and outputs.py
2016-02-16 10:57:44 -08:00
Martin A. Brown 78ee9eb459 revising the mechanism for subdir creation 2016-02-16 10:44:05 -08:00
Martin A. Brown 82a0fce575 initial test script for outputs.py 2016-02-15 23:52:52 -08:00
Martin A. Brown 7b08ececf4 renaming OutputDirs more appropriately to OutputCollection 2016-02-15 23:52:08 -08:00
Martin A. Brown 55ef688015 adjust SourceDirs to behave like a dictionary 2016-02-15 21:51:56 -08:00
Martin A. Brown 01bee4a269 adjust error-raising invocations (and tests) 2016-02-15 21:32:35 -08:00
Martin A. Brown 3ad14231aa renaming Sources to SourceDirs 2016-02-15 20:58:30 -08:00
Martin A. Brown a1d457a3ae initial test support for document enumeration
check to see that empty directories are handled correctly
check to see that single, multiple files in one dir are handled
check to see that single files in multiple directories are handled
2016-02-13 12:32:05 -08:00
Martin A. Brown 91708bdc3c make testdatadir an absolute path 2016-02-13 12:31:58 -08:00
Martin A. Brown 8c57a9a994 put all simple examples in a namespace (easier to wrangle) 2016-02-13 11:26:00 -08:00
Martin A. Brown d16d10f405 in case we do not have SimpleNamespace 2016-02-13 11:24:54 -08:00
Martin A. Brown eaf2823fd6 read examples data from testdata dir; adapt tests
adapt tests to accommodate storing the test data in a separate directory
inspect example objects for signature checking (and extension checking)
adhere to pep8 and pyflakes conventions
2016-02-13 10:54:38 -08:00
Martin A. Brown 0ee20461f3 directory for all sorts of testdata 2016-02-13 10:39:43 -08:00
Martin A. Brown d9c7ac1944 move testdata to sample directory 2016-02-13 10:39:26 -08:00
Martin A. Brown 336faa4df5 test __init__ for missing/wrong type SourceDocument 2016-02-12 23:59:44 -08:00
Martin A. Brown 39ca112e40 initial test suite framework and first tests 2016-02-12 23:48:48 -08:00