I made Quick to solve your exact problem! we use it to test our batch processes that either generate flat files or write data into database tables.
please contact me if you need help with the tool, i know that the docs are not as complete as i would like them to be.
here is the wiki: https://github.com/MouslihAbdelhakim/Quick/wiki
here is a repo of some examples: https://github.com/MouslihAbdelhakim/Quick-examples