use data-attr to transfer requirement & improve mocha reporter