Skip to content
This repository has been archived by the owner on Dec 31, 2020. It is now read-only.

Add unit tests for HTM operator #3

Open
EronWright opened this issue Mar 16, 2016 · 0 comments
Open

Add unit tests for HTM operator #3

EronWright opened this issue Mar 16, 2016 · 0 comments

Comments

@EronWright
Copy link
Collaborator

EronWright commented Mar 16, 2016

Flink provides a unit test framework for operators - or at least an integration test using an embedded Flink instance.

  • Use a mock Network.
  • Enhance the existing test (HTMIntegrationTest) to validate the output.
  • Test keyed streams.
  • Test the 'encoder input function' code (GenerateEncoderInputFunction), which takes a user type (i.e. case class, POJO, tuple as described by the subclasses of CompositeType) and produces a map of input data for the multi-encoder. Test the various types of user types, and test the value conversion logic (e.g. int -> double for ScalarEncoder).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant