Closed stefanhahmann closed 1 year ago
Hello @tinevez, @stefanhahmann wrote some unit tests for feature serialization. The tests indicate that the serializer for the BranchDepthFeature is missing. Is this correct? Did you maybe forget to implement the serializer or is there something else wrong here?
@tinevez Is it correct that the BranchDepthFeatureSerializer was missing in the code?
True! I had forgotten about it.
Add a class + method to test feature serialization/deserialization (
FeatureSerializerTestUtils
)Add the yet missing
BranchDepthFeatureSerializer
Add a unit test
BranchDepthFeatureSerializerTest
that makes use of the new test methodsUpdates + Extensions of
FeatureComputerTestUtils
featureComputerService
withforceRecomputeAll
flag to increase potential test coverageCast.unchecked()
getFeature()
so that features can be retrieved without projectiongetSpotFeatureProjection()
andgetBranchSpotFeatureProjection()
togetFeatureProjection()