Martin A. Brown
a488ae53de
add testing support for new format Asciidoc
2016-03-09 08:09:52 -08:00
Martin A. Brown
631e8fed83
.
2016-03-09 08:09:36 -08:00
Martin A. Brown
f848040e60
improving overall coverage
2016-03-07 22:13:38 -08:00
Martin A. Brown
6a97e4058a
improve orphan verbosity testing
2016-03-07 20:01:26 -08:00
Martin A. Brown
0ff6dc5594
support the config.builddir in the testing suite
2016-03-07 20:00:22 -08:00
Martin A. Brown
29674dd7f0
add Asciidoc example to typeguesser
2016-03-07 19:59:48 -08:00
Martin A. Brown
904f0004bd
add new coverage for swapdirs; improve coverage, as well
2016-03-07 19:59:27 -08:00
Martin A. Brown
c3a2152e6c
improve covareg testing of source.py
2016-03-07 19:58:31 -08:00
Martin A. Brown
f8bb88c518
improve coverage testing of outputs.py
2016-03-07 19:58:14 -08:00
Martin A. Brown
730010dc5b
adding sample Asciidoc document
2016-03-07 19:57:48 -08:00
Martin A. Brown
4fbc08c1be
adjust to deal with new action --publish
2016-03-07 18:56:07 -08:00
Martin A. Brown
88f07a1c69
switch from attribute "type" to "doctype"
2016-03-07 18:55:47 -08:00
Martin A. Brown
5f24879875
adding a function to swap directories
2016-03-07 15:04:04 -08:00
Martin A. Brown
8064ef71e8
changed the error message
2016-03-07 13:54:55 -08:00
Martin A. Brown
a4331ac48e
fix the invocation of summary() in the test
2016-03-07 13:24:40 -08:00
Martin A. Brown
de43a11954
adjust the names of the XSL files
2016-03-03 11:20:57 -08:00
Martin A. Brown
78e67c0e6c
pep8/pyflakes
2016-03-01 22:47:15 -08:00
Martin A. Brown
6e11db3957
add a test case for when user specifies only stem as arg
2016-03-01 22:46:57 -08:00
Martin A. Brown
9cb92dce7c
build() only returns 0 (success) for all builds
...
before, the build() function lacked the logic to retain, and return that there
was a failure during the building of one of the documents; it now returns
a 1, which is passed directly to sys.exit(), if any single build fails
2016-03-01 22:21:29 -08:00
Martin A. Brown
97181b167a
temporarily forgetting about other doctypes
2016-03-01 21:50:58 -08:00
Martin A. Brown
136678f531
changing the extension to .xml
2016-03-01 21:50:42 -08:00
Martin A. Brown
4939347e85
adjust verbose output a tad
2016-03-01 20:12:01 -08:00
Martin A. Brown
b9f606988b
try to simplify testing logic
...
lots of adjustments to testing to make it more understandable (and
self-contained), although not much shorter
2016-03-01 19:53:33 -08:00
Martin A. Brown
890464310a
more sample data for stem/ext handling issue
2016-03-01 19:53:13 -08:00
Martin A. Brown
783aa036c8
correcting mismatch in PUBLIC/SYSTEM identifier declaration
2016-03-01 19:52:41 -08:00
Martin A. Brown
d0222c748a
more sample data for stem/ext handling issue
2016-03-01 19:51:39 -08:00
Martin A. Brown
76d5886e54
fix skipping SCSI-2.4-HOWTO (bad stem/ext handling)
...
source document identification was skipping any documents which lived in their
own directory AND whose names had a dot; fixed and test support added
2016-03-01 19:49:28 -08:00
Martin A. Brown
9721214e12
rejigger testing to cover functions
2016-03-01 13:32:38 -08:00
Martin A. Brown
211cb6dd5c
adding a bunch more testing for driver.py
2016-03-01 11:02:44 -08:00
Martin A. Brown
fe3a0ed447
initial commot of test_driver.py
2016-02-29 21:31:55 -08:00
Martin A. Brown
914c37006b
complete missing logic in setupcollections
2016-02-29 18:05:51 -08:00
Martin A. Brown
247019e646
pep8 fixes
2016-02-29 18:05:14 -08:00
Martin A. Brown
2974c6b5d7
a little __repr__ test to improve coverage
2016-02-29 18:04:44 -08:00
Martin A. Brown
56b1a027ca
access inventory by status class name
...
create method getByStatusClass() and add testing
2016-02-29 18:03:16 -08:00
Martin A. Brown
40bcabbe79
check attrs before setting
2016-02-29 11:32:30 -08:00
Martin A. Brown
ddb5424941
get 100% coverage on the utils.py module
2016-02-29 11:32:01 -08:00
Martin A. Brown
1ee227f3f2
adding some basic testing for configuration file reading
2016-02-29 10:47:48 -08:00
Martin A. Brown
7633cd1c49
adding a missed test for arg_isdirectory
2016-02-29 10:47:30 -08:00
Martin A. Brown
9643c44b7a
move many generic package testing tools
...
test_inventory was a good place to develop some of those tools, but they are
now needed for testing driver.py and others; moving them
2016-02-29 10:46:36 -08:00
Martin A. Brown
2509fcfe16
adding a bad example
2016-02-26 20:07:50 -08:00
Martin A. Brown
1951281cd9
pep8 fixes
2016-02-26 13:24:10 -08:00
Martin A. Brown
7f48a97b94
get a few more cases in the sources.py
2016-02-26 13:22:58 -08:00
Martin A. Brown
e4d4d552d1
derive some of this stuff for testing
2016-02-26 13:22:39 -08:00
Martin A. Brown
3580544b7c
and test a directory-shaped document
2016-02-26 12:49:09 -08:00
Martin A. Brown
ffa2fb6a93
get naming convention correct
2016-02-26 12:39:56 -08:00
Martin A. Brown
69b2d7bd76
adding another sample document, this time a directory
2016-02-26 12:37:29 -08:00
Martin A. Brown
a7c5df6253
renaming testdata to sample-documents
2016-02-26 12:26:41 -08:00
Martin A. Brown
8c69e05f94
beefing up some testing for new functions
2016-02-23 13:10:10 -08:00
Martin A. Brown
e46c844a94
renamed attr to "orphan"
2016-02-22 20:26:07 -08:00
Martin A. Brown
f200c0efc2
add function stem_and_ext to the utils
2016-02-19 00:54:16 -08:00