Give support to JUnit output format for sogo-tests

To integrate with CI system.

sogo-tests now accepts a flag (-f) to determine the output format:

  * text : Current behaviour and default value
  * junit: XML output suitable for CI system such as Jenkins
This commit is contained in:
Enrique J. Hernández Blasco committed 2016-01-12 16:14:30 +01:00
1 parent 2ad00f8cef
commit 0c5f4edb36
4 files changed
+191 -12

No files matched your search

+2 -1
View File
@@ -154,7 +154,8 @@ static NSString *SOGoTestAssertException = @"SOGoTestAssertException";
}
NS_ENDHANDLER;
[testRunner incrementTestCounter: failureCode];
[testRunner incrementTestCounter: failureCode
afterMethod: NSStringFromSelector (testMethod)];
}
- (BOOL) run