Skip to content

Converts KIF output log messages to JUnit test results for using KIF in a continuous integration environment

Notifications You must be signed in to change notification settings

rlepinski/KIFLog2Unit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

KIFLog2Unit

Converts KIF output log messages to JUnit test results for using KIF in a continuous integration environment.

Tested and working with the Publish JUnit Test Result Report post-build action in Jenkins.

Usage

  1. Save the script somewhere in your Jenkins user's PATH, and make it executable with chmod +x KIFLog2JUnit.rb
  2. Build your KIF target with the Xcode build plugin/step
  3. Run the app in the simulator (we use waxsim to launch it) and save the output to a file: waxsim -s 6.1 -f iphone -v ${WORKSPACE}/test-run.mov "${WORKSPACE}/build/KIFTests.app" > KIF-AutomationTests.out 2>&1
  4. Process the file with the script: KIFLog2JUnit.rb TEST_SUITE_NAME ${WORKSPACE}/KIF-AutomationTests.out
  5. Publish the xml file using the JUnit post-build publisher

About

Converts KIF output log messages to JUnit test results for using KIF in a continuous integration environment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%