Let me introduce one small program I wrote some time ago, which might be of utility to the members of this community-
Requirements: It can run on any Unix based system (OSX/Linux etc.)
Initially, it started as a small script to run my C++ program on test data from USACO Contests, INOI, ZCO and IARCS Judges. Old INOI and ZCO problems are not on Codechef and it is thus a pain to check the validity of your solution. Later, I extended it to interpreted languages and added a logging option.
It is a command line program with the arguments
judge <interpreter> <program> <testdata directory> (--log)
For compiled languages use the interpreter argument as exec. For example,
judge exec compiled_code test_data
For using something like python,
judge python code.py test_data
judge java class_file_name test_data
Hope you find it useful !