API that generates its own documentation and test harness from source code