I'm using the API OCUnit2JUnit (http://ift.tt/1u8USFA) to output the results of my unit tests to xml into a folder. Seems like this framework is the easiest way to do that. I've installed ruby, done all of the setup, but when I run it, my "test-reports" folder is empty. This is the code I'm using:
xcodebuild test -scheme MySchemeName -sdk iphonesimulator7.1 -derivedDataPath "$(pwd)" 2>&1 | tee out.txt cat out.txt | ocunit2junit
Now, this creates a file in my project called out.txt and cat.txt which contains an enormous amount of info, but not in XML like it should be. My "test-reports" folder is still empty as well. Anyone know what I'm doing wrong here?
Aucun commentaire:
Enregistrer un commentaire