AbsaOSS / hyperdrive

Extensible streaming ingestion pipeline on top of Apache Spark
Apache License 2.0
44 stars 13 forks source link

Improve robustness of component tests #148

Open kevinwallimann opened 4 years ago

kevinwallimann commented 4 years ago

Currently, some tests, e.g. TestKafkaStreamReader are too mocked. The component's code almost has to be replicated in the mocks of the test. Furthermore, the tests are too rigid, e.g. it depends whether a config is added with .option or with .options