Skip to content
Browse files

fixes, and update to version 0.0.7

  • Loading branch information...
1 parent 0410b9b commit 395f7170aa19b7229b7a2fe718a76bd1510055df Paul Wilson committed Apr 12, 2009
Showing with 17 additions and 5 deletions.
  1. +7 −0 History.txt
  2. +3 −2 README.rdoc
  3. +1 −1 lib/iphone_testify.rb
  4. +5 −1 skeleton/Autotest.rake
  5. +1 −1 skeleton/Rakefile
View
7 History.txt
@@ -8,3 +8,10 @@
* Adding growl pass/fail images for autotesting
* Adding UnitTests directory as part of skeleton
+
+== 0.0.7
+
+* added .gitignore
+* detects more failure conditions in growl message: segmentation faults, more build errors
+* moved bulk of Rake into separate file
+* changed tasks to auto:test, an auto:test:all
View
5 README.rdoc
@@ -42,11 +42,12 @@ To autocompile/autorun all tests every time code changes
To compile and run tests if code has changed since the last run
- % rake
+ % rake auto:test
To compile and run all tests even if nothing has changed since the last time
- % rake test_all
+ % rake auto:test:all
+
== REQUIREMENTS:
View
2 lib/iphone_testify.rb
@@ -2,7 +2,7 @@
module IphoneTestify
GEMDIR = File.expand_path(File.dirname(__FILE__) + "/..")
# :stopdoc:
- VERSION = '0.0.6'
+ VERSION = '0.0.7'
LIBPATH = ::File.expand_path(::File.dirname(__FILE__)) + ::File::SEPARATOR
PATH = ::File.dirname(LIBPATH) + ::File::SEPARATOR
# :startdoc:
View
6 skeleton/Autotest.rake
@@ -1,3 +1,7 @@
+IPHONE_SDK_VERSION = '2.2.1' unless Object::const_defined?("IPHONE_SDK_VERSION")
+
+puts "SDK Version: #{IPHONE_SDK_VERSION}"
+
BUILD_STATUS_FILE=".built"
@@ -48,7 +52,7 @@ end
module AutoTest
def self.test
- output = `xcodebuild -target "Unit Test" -configuration Debug -sdk iphonesimulator2.1 2>&1`
+ output = `xcodebuild -target "Unit Test" -configuration Debug -sdk iphonesimulator#{IPHONE_SDK_VERSION} 2>&1`
failure_line = nil
output.each do |line|
if line =~ /error:|^Executed.*(\d+) failures|Undefined symbols|PurpleSystemEventPort|FAILED|Segmentation fault/
View
2 skeleton/Rakefile
@@ -1 +1 @@
-Load 'Autotest.rake'
+load 'Autotest.rake'

0 comments on commit 395f717

Please sign in to comment.
Something went wrong with that request. Please try again.