Based on impyla and unittest(a python library for unittest), I built this unittest framework to test and check data quality.
It can generate a HTML report to show the test results as follow:
python2
pip install impyla==0.14.2.2
pip install html-testRunner
pip install thrift-sasl==0.3.0
pip install pandas