JWT is a framework project to demo code coverage data automation on iOS.
Project comes with a set of xcconfig files and shell scripts.
- Install the following Ruby gems:
- sudo gem install xcpretty
- Install the lcov tool:
- brew install lcov
To build the project please use JWT.xcodeproj file and one of the available schemes - JWT-Debug or JWT-Release.
To collect code coverage please use the shell script:
./Scripts/run-unit-tests.sh debug arm64
or
./Scripts/run-unit-tests.sh debug i386
Output will be available at ./Autobuild/unit-tests/coverage.