Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 1.7.0-RC3
-
Fix Version/s: 1.7.0-RC4
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
Currently we have zero kml tests. And there is really no part of the manuall hand testing of a release which tests it either. This has caused a number of regressions with regard to KML on 1.7.x.
We need to implement at least a few tests for 1.7.x It does not have to be comprehensive coverage at this point... just a way to ensure that things are not completely broken.
The two attached pictures show the kml package coverage before and after the tests added by Dave and me.
Note however, that though we had a 51% coverage it was mostly due to ghost tests. We added a lot of assertions over the generated document structure on those tests too so we're actually asserting the class in questions produces the expected output. So even if the coverage raised from 51% to 80%, some existing tests that were performing just naive assertions now are checking a lot more, even if that doesn't repercutes in more coverage