extract the configuration of test to file