This improves integration with e.g. CircleCI, which expects report files to be placed in a sub-directory and will use the sub-directory name as a label for the test results.
With this new use_project_subdirectory? configuration, report files will be named as "#{report_dir}/#{application_name}/#{report_file}".
If this config is turned on then I also added a default to automatically create the report dir, as otherwise I think it would just error for everyone on the first use.
This improves integration with e.g. CircleCI, which expects report files to be placed in a sub-directory and will use the sub-directory name as a label for the test results.
With this new
use_project_subdirectory?
configuration, report files will be named as"#{report_dir}/#{application_name}/#{report_file}"
.If this config is turned on then I also added a default to automatically create the report dir, as otherwise I think it would just error for everyone on the first use.