doc2code: generate test code from api doc Install $ npm install -g doc2code Usage $ d2c ./routes ./test/requests d2c will read the ./routes dir and generate api test code for each file and put them to ./test/requests