File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,15 @@ namespace :test do
61
61
task :application => 'application:ios'
62
62
63
63
desc "Run all tests for iOS and OS X"
64
- task :all => [ 'test:logic' , 'test:application' ]
64
+ task :all do
65
+ Rake . application . invoke_task ( "test:logic" )
66
+ unit_status = $?. exitstatus
67
+ Rake . application . invoke_task ( "test:application" )
68
+ integration_status = $?. exitstatus
69
+ puts "\033 [0;31m!! Unit Tests failed with exit status of #{ unit_status } " if unit_status != 0
70
+ puts "\033 [0;31m!! Integration Tests failed with exit status of #{ integration_status } " if integration_status != 0
71
+ puts "\033 [0;32m** All Tests executed successfully" if unit_status == 0 && integration_status == 0
72
+ end
65
73
66
74
task :check_mongodb do
67
75
port_check = RestKit ::Server ::PortCheck . new ( '127.0.0.1' , 27017 )
You can’t perform that action at this time.
0 commit comments