ZuInnoTe / hadoopcryptoledger

Hadoop Crypto Ledger - Analyzing CryptoLedgers, such as Bitcoin Blockchain, on Big Data platforms, such as Hadoop/Spark/Flink/Hive
Apache License 2.0
141 stars 51 forks source link

Unit tests violate DRY principle #72

Closed phelps-sg closed 3 years ago

phelps-sg commented 3 years ago

The unit tests have significant amounts of duplicated code. This makes the tests hard to read and maintain, and makes it harder to implement new tests. See the first answer in this stack-overflow post for remedies: https://stackoverflow.com/questions/129693/is-duplicated-code-more-tolerable-in-unit-tests