rlgomes/KIF — pull request #2 by deadfalkon (2012-02-03 14:57:31+00:00)
Title: J unit testing

Stuff as explained at https://github.com/rlgomes/KIF/pull/1 plus the possiblity to specify the output of the xml using an environment variable :

- (id)init{
self = [super init];

NSString* folder = [[[NSProcessInfo processInfo] environment] objectForKey:@"KIF_JUNIT_XML_RESULTS_FOLDER"];
if (folder != nil) {
KIFJunitTestLogger* logger = [[[KIFJunitTestLogger alloc] init] autorelease];
logger.logDirectoryPath = folder;
[self registerLogger:logger];
}
return self;
}