optional validation of scrooge/thrift Document

We are using scripted as the test framework so you can probably test for compilation failure using that.