Commit adcd82b2 authored by Mauro Bender's avatar Mauro Bender
Browse files

Fix tests and update testing settings

parent c6bea06f
This diff is collapsed.
......@@ -28,7 +28,7 @@
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "41A0EFB5FF2AB25851480390910FEFB0"
BlueprintIdentifier = "E55B1151CE9F1A4DF53372F919225CBB"
BuildableName = "AMLChat.framework"
BlueprintName = "AMLChat"
ReferencedContainer = "container:Pods/Pods.xcodeproj">
......
......@@ -4,11 +4,11 @@ source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.1'
use_frameworks!
target 'AMLChat_Example', :exclusive => true do
target 'AMLChat_Example' do
pod 'AMLChat', :path => '../'
end
target 'AMLChat_Tests', :exclusive => true do
target 'AMLChat_Tests' do
pod 'AMLChat', :path => '../'
pod 'Kiwi'
......
......@@ -43,4 +43,6 @@ SPEC CHECKSUMS:
PromiseKit: 4e8127c22a9b29d1b44958ab2ec762ea6115cbfb
PubNub: 052a698177f64ab12889c513af425a2195ccaf12
COCOAPODS: 0.39.0
PODFILE CHECKSUM: 6b5e1007c9ebf6f347466b788c801de063127637
COCOAPODS: 1.0.1
......@@ -7,7 +7,7 @@
//
#import <Kiwi/Kiwi.h>
#import "NSDate+PubNubTimeToken.h"
#import "NSDate+PubNubTimetoken.h"
#define kPNRequiredTimeTokenPrecision 17
......
......@@ -30,11 +30,11 @@ platform :ios do
desc "Runs all the tests"
lane :test do
# Run tests
scan(clean: true, scheme: 'AMLChat-Example', skip_slack: true, code_coverage: true, xcargs: "-derivedDataPath build", output_types: 'html,json-compilation-database')
scan(clean: true, scheme: 'AMLChat-Example', skip_slack: true, code_coverage: true, derived_data_path: 'build', output_types: 'html,json-compilation-database')
# Gather code coverage
# slather(build_directory: 'build', input_format: 'profdata', scheme: 'AMLChat-Example', ignore: ['../**/*/Xcode*', '../AMLChat/PromiseKit/*'], proj: 'AMLChat.xcodeproj', binary_basename: 'AMLChat', source_directory: '../AMLChat', output_directory: 'fastlane/test_output/coverage')
# slather(build_directory: 'build', input_format: 'profdata', scheme: 'AMLChat-Example', html: true, ignore: ['../**/*/Xcode*', '../AMLChat/PromiseKit/*'], proj: 'AMLChat.xcodeproj', binary_basename: 'AMLChat', source_directory: '../AMLChat', output_directory: 'fastlane/test_output/coverage')
slather(build_directory: 'build', simple_output: true, scheme: 'AMLChat-Example', ignore: ['../**/*/Xcode*', '../AMLChat/PromiseKit/*'], proj: 'AMLChat.xcodeproj', binary_basename: 'AMLChat', source_directory: '../AMLChat', output_directory: 'fastlane/test_output/coverage')
slather(build_directory: 'build', html: true, scheme: 'AMLChat-Example', ignore: ['../**/*/Xcode*', '../AMLChat/PromiseKit/*'], proj: 'AMLChat.xcodeproj', binary_basename: 'AMLChat', source_directory: '../AMLChat', output_directory: 'fastlane/test_output/coverage')
# Generate code quality report
# sh('cd ../.. && cp Example/fastlane/test_output/report.json-compilation-database compile_commands.json')
......
......@@ -14,6 +14,6 @@ Runs all the tests
----
This README.md is auto-generated and will be re-generated every time to run [fastlane](https://fastlane.tools).
This README.md is auto-generated and will be re-generated every time [fastlane](https://fastlane.tools) is run.
More information about fastlane can be found on [https://fastlane.tools](https://fastlane.tools).
The documentation of fastlane can be found on [GitHub](https://github.com/fastlane/fastlane/tree/master/fastlane).
\ No newline at end of file
GEM
remote: https://rubygems.org/
specs:
activesupport (4.2.6)
activesupport (4.2.7.1)
i18n (~> 0.7)
json (~> 1.7, >= 1.7.7)
minitest (~> 5.1)
......@@ -9,54 +9,57 @@ GEM
tzinfo (~> 1.1)
addressable (2.4.0)
babosa (1.0.2)
cert (1.4.1)
fastlane_core (>= 0.29.1, < 1.0.0)
spaceship (>= 0.22.0, < 1.0.0)
claide (0.9.1)
cert (1.4.2)
fastlane_core (>= 0.50.3, < 1.0.0)
spaceship (>= 0.32.0, < 1.0.0)
claide (1.0.0)
clamp (0.6.5)
cocoapods (0.39.0)
cocoapods (1.0.1)
activesupport (>= 4.0.2)
claide (~> 0.9.1)
cocoapods-core (= 0.39.0)
cocoapods-downloader (~> 0.9.3)
cocoapods-plugins (~> 0.4.2)
cocoapods-search (~> 0.1.0)
cocoapods-stats (~> 0.6.2)
cocoapods-trunk (~> 0.6.4)
cocoapods-try (~> 0.5.1)
claide (>= 1.0.0, < 2.0)
cocoapods-core (= 1.0.1)
cocoapods-deintegrate (>= 1.0.0, < 2.0)
cocoapods-downloader (>= 1.0.0, < 2.0)
cocoapods-plugins (>= 1.0.0, < 2.0)
cocoapods-search (>= 1.0.0, < 2.0)
cocoapods-stats (>= 1.0.0, < 2.0)
cocoapods-trunk (>= 1.0.0, < 2.0)
cocoapods-try (>= 1.0.0, < 2.0)
colored (~> 1.2)
escape (~> 0.0.4)
molinillo (~> 0.4.0)
fourflusher (~> 0.3.0)
molinillo (~> 0.4.5)
nap (~> 1.0)
xcodeproj (~> 0.28.2)
cocoapods-core (0.39.0)
xcodeproj (>= 1.1.0, < 2.0)
cocoapods-core (1.0.1)
activesupport (>= 4.0.2)
fuzzy_match (~> 2.0.4)
nap (~> 1.0)
cocoapods-downloader (0.9.3)
cocoapods-plugins (0.4.2)
cocoapods-deintegrate (1.0.1)
cocoapods-downloader (1.1.1)
cocoapods-plugins (1.0.0)
nap
cocoapods-search (0.1.0)
cocoapods-stats (0.6.2)
cocoapods-trunk (0.6.4)
cocoapods-search (1.0.0)
cocoapods-stats (1.0.0)
cocoapods-trunk (1.0.0)
nap (>= 0.8, < 2.0)
netrc (= 0.7.8)
cocoapods-try (0.5.1)
cocoapods-try (1.1.0)
colored (1.2)
commander (4.3.5)
commander (4.4.0)
highline (~> 1.7.2)
credentials_manager (0.16.0)
colored
commander (>= 4.3.5)
highline (>= 1.7.1)
security
deliver (1.13.1)
deliver (1.13.3)
credentials_manager (>= 0.16.0, < 1.0.0)
fastimage (~> 1.6)
fastlane_core (>= 0.46.2, < 1.0.0)
fastlane_core (>= 0.50.3, < 1.0.0)
plist (~> 3.1.0)
spaceship (>= 0.26.2, < 1.0.0)
domain_name (0.5.20160310)
spaceship (>= 0.31.6, < 1.0.0)
domain_name (0.5.20160615)
unf (>= 0.0.5, < 1.0.0)
dotenv (2.1.1)
escape (0.0.4)
......@@ -70,54 +73,58 @@ GEM
faraday (>= 0.7.4, < 0.10)
fastimage (1.6.8)
addressable (~> 2.3, >= 2.3.5)
fastlane (1.94.1)
fastlane (1.102.0)
activesupport (< 5)
addressable (~> 2.3)
bundler (~> 1.12)
cert (>= 1.4.1, < 2.0.0)
credentials_manager (>= 0.16.0, < 1.0.0)
deliver (>= 1.13.1, < 2.0.0)
fastlane_core (>= 0.46.2, < 1.0.0)
deliver (>= 1.13.3, < 2.0.0)
fastlane_core (>= 0.50.2, < 1.0.0)
frameit (>= 2.7.0, < 3.0.0)
gym (>= 1.6.3, < 2.0.0)
krausefx-shenzhen (>= 0.14.7)
match (>= 0.6.0, < 1.0.0)
gym (>= 1.7.0, < 2.0.0)
krausefx-shenzhen (>= 0.14.10)
match (>= 0.6.3, < 1.0.0)
multipart-post (~> 2.0.0)
pem (>= 1.3.1, < 2.0.0)
pilot (>= 1.9.1, < 2.0.0)
pem (>= 1.3.2, < 2.0.0)
pilot (>= 1.10.0, < 2.0.0)
plist (~> 3.1.0)
produce (>= 1.1.2, < 2.0.0)
scan (>= 0.8.0, < 1.0.0)
screengrab (>= 0.3.2, < 1.0.0)
sigh (>= 1.8.0, < 2.0.0)
produce (>= 1.2.0, < 2.0.0)
scan (>= 0.11.3, < 2.0.0)
screengrab (>= 0.5.0, < 1.0.0)
sigh (>= 1.10.0, < 2.0.0)
slack-notifier (~> 1.3)
snapshot (>= 1.12.3, < 2.0.0)
spaceship (>= 0.27.1, < 1.0.0)
snapshot (>= 1.14.0, < 2.0.0)
spaceship (>= 0.32.0, < 1.0.0)
supply (>= 0.7.0, < 1.0.0)
terminal-notifier (~> 1.6.2)
terminal-table (~> 1.4.5)
word_wrap (~> 1.0.0)
xcode-install (~> 1.4.0)
xcode-install (~> 2.0.0)
xcodeproj (>= 0.20, < 2.0.0)
xcpretty (>= 0.2.1)
fastlane_core (0.46.3)
fastlane_core (0.50.3)
babosa
colored
commander (= 4.3.5)
commander (>= 4.4.0, <= 5.0.0)
credentials_manager (>= 0.16.0, < 1.0.0)
excon (~> 0.45.0)
gh_inspector (>= 1.0.1, < 2.0.0)
highline (>= 1.7.2)
json
multi_json
plist (~> 3.1)
rubyzip (~> 1.1.6)
terminal-table (~> 1.4.5)
fourflusher (0.3.2)
frameit (2.7.0)
deliver (> 0.3)
fastimage (~> 1.6.3)
fastlane_core (>= 0.36.1, < 1.0.0)
mini_magick (~> 4.5.1)
fuzzy_match (2.0.4)
google-api-client (0.9.8)
gh_inspector (1.0.2)
google-api-client (0.9.12)
addressable (~> 2.3)
googleauth (~> 0.5)
httpclient (~> 2.7)
......@@ -135,8 +142,8 @@ GEM
multi_json (~> 1.11)
os (~> 0.9)
signet (~> 0.7)
gym (1.6.3)
fastlane_core (>= 0.43.1, < 1.0.0)
gym (1.8.0)
fastlane_core (>= 0.50.0, < 1.0.0)
plist
rubyzip (>= 1.1.7)
terminal-table
......@@ -144,13 +151,13 @@ GEM
highline (1.7.8)
http-cookie (1.0.2)
domain_name (~> 0.5)
httpclient (2.8.0)
httpclient (2.8.2.3)
hurley (0.2)
i18n (0.7.0)
json (1.8.3)
jwt (1.5.4)
krausefx-shenzhen (0.14.7)
commander (~> 4.3)
krausefx-shenzhen (0.14.10)
commander (>= 4.3, < 5.0)
dotenv (>= 0.7)
faraday (~> 0.9)
faraday_middleware (~> 0.9)
......@@ -165,19 +172,19 @@ GEM
logging (2.1.0)
little-plugger (~> 1.1)
multi_json (~> 1.10)
match (0.6.1)
cert (>= 1.2.8, < 2.0.0)
credentials_manager (>= 0.13.0, < 1.0.0)
fastlane_core (>= 0.39.0, < 1.0.0)
match (0.6.3)
cert (>= 1.4.1, < 2.0.0)
credentials_manager (>= 0.16.0, < 1.0.0)
fastlane_core (>= 0.50.3, < 1.0.0)
security
sigh (>= 1.2.2, < 2.0.0)
spaceship (>= 0.24.0, < 1.0.0)
memoist (0.14.0)
sigh (>= 1.9.0, < 2.0.0)
spaceship (>= 0.31.10, < 1.0.0)
memoist (0.15.0)
mime-types (3.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2016.0521)
mini_magick (4.5.1)
mini_portile2 (2.0.0)
mini_portile2 (2.1.0)
minitest (5.9.0)
molinillo (0.4.5)
multi_json (1.12.1)
......@@ -186,66 +193,69 @@ GEM
nap (1.1.0)
net-sftp (2.1.2)
net-ssh (>= 2.6.5)
net-ssh (3.1.1)
net-ssh (3.2.0)
netrc (0.7.8)
nokogiri (1.6.7.2)
mini_portile2 (~> 2.0.0.rc2)
nokogiri (1.6.8)
mini_portile2 (~> 2.1.0)
pkg-config (~> 1.1.7)
os (0.9.6)
pem (1.3.1)
pem (1.3.2)
fastlane_core (>= 0.43.1, < 1.0.0)
spaceship (>= 0.26.2, < 1.0.0)
pilot (1.9.2)
pilot (1.10.0)
credentials_manager (>= 0.3.0)
fastlane_core (>= 0.46.2, < 1.0.0)
spaceship (>= 0.27.0, < 1.0.0)
spaceship (>= 0.29.0, < 1.0.0)
terminal-table (~> 1.4.5)
pkg-config (1.1.7)
plist (3.1.0)
produce (1.1.2)
produce (1.2.0)
fastlane_core (>= 0.30.0, < 1.0.0)
spaceship (>= 0.16.0, < 1.0.0)
spaceship (>= 0.31.1, < 1.0.0)
representable (2.3.0)
uber (~> 0.0.7)
retriable (2.1.0)
rouge (1.11.0)
rouge (1.11.1)
rubyzip (1.1.7)
scan (0.8.0)
fastlane_core (>= 0.36.1, < 1.0.0)
scan (0.11.3)
fastlane_core (>= 0.50.0, < 1.0.0)
slack-notifier (~> 1.3)
terminal-table
xcpretty (>= 0.2.1)
xcpretty-travis-formatter (>= 0.0.3)
screengrab (0.3.2)
fastlane_core (>= 0.38.0, < 1.0.0)
screengrab (0.5.1)
fastlane_core (>= 0.50.3, < 1.0.0)
security (0.1.3)
sigh (1.8.0)
sigh (1.10.1)
fastlane_core (>= 0.36.1, < 1.0.0)
plist (~> 3.1)
spaceship (>= 0.22.0, < 1.0.0)
signet (0.7.2)
spaceship (>= 0.29.1, < 1.0.0)
signet (0.7.3)
addressable (~> 2.3)
faraday (~> 0.9)
jwt (~> 1.5)
multi_json (~> 1.10)
slack-notifier (1.5.1)
slather (2.1.0)
slather (2.3.0)
activesupport (>= 4.0.2, < 5)
clamp (~> 0.6)
nokogiri (~> 1.6.3)
xcodeproj (>= 0.28.2, < 1.1.0)
snapshot (1.12.3)
xcodeproj (>= 0.20, < 2.0.0)
snapshot (1.14.0)
fastimage (~> 1.6.3)
fastlane_core (>= 0.36.1, < 1.0.0)
fastlane_core (>= 0.50.3, < 1.0.0)
plist (~> 3.1.0)
xcpretty (>= 0.2.1)
spaceship (0.27.1)
spaceship (0.32.0)
colored
credentials_manager (>= 0.9.0)
credentials_manager (>= 0.16.0)
faraday (~> 0.9)
faraday-cookie_jar (~> 0.0.6)
faraday_middleware (~> 0.9)
fastimage (~> 1.6)
multi_xml (~> 0.5)
plist (~> 3.1)
supply (0.7.0)
supply (0.7.1)
credentials_manager (>= 0.15.0)
fastlane_core (>= 0.43.4)
google-api-client (~> 0.9.1)
......@@ -260,12 +270,12 @@ GEM
unf_ext
unf_ext (0.0.7.2)
word_wrap (1.0.0)
xcode-install (1.4.0)
xcode-install (2.0.2)
claide (>= 0.9.1, < 1.1.0)
spaceship (>= 0.25.1, < 1.0.0)
xcodeproj (0.28.2)
xcodeproj (1.2.0)
activesupport (>= 3)
claide (~> 0.9.1)
claide (>= 1.0.0, < 2.0)
colored (~> 1.2)
xcpretty (0.2.2)
rouge (~> 1.8)
......@@ -281,4 +291,4 @@ DEPENDENCIES
slather
BUNDLED WITH
1.12.0
1.12.5
A chat implementation for __iOS__ and __OSX__ using __PubNub__ as the Real-Time backend service.
[![build status](https://git.theamalgama.com/ios/chat/badges/master/build.svg)](https://git.theamalgama.com/ios/chat/commits/master)
[![coverage report](https://git.theamalgama.com/ios/chat/badges/master/coverage.svg)](https://git.theamalgama.com/ios/chat/commits/master)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment