boolean showFooter,
boolean redirectTestOutputToFile) {
OutputConsumer outputConsumer = new StandardOutputConsumer();
if (redirectTestOutputToFile) {
outputConsumer = new FileOutputConsumerProxy(outputConsumer, getReportsDirectory());
}
if (!showHeading) {
outputConsumer = new SupressHeaderOutputConsumerProxy(outputConsumer);
}