Generate a local configuration file before running the test