[test] Use pretty test helpers in all test suites.

This commit is contained in:
Eloy Durán
2013-12-13 11:50:34 +01:00
parent 0e369fd7de
commit ba636bfa11
5 changed files with 11 additions and 1 deletions

View File

@@ -2,8 +2,12 @@
$:.unshift("../../lib")
require 'motion/project'
ENV['output'] ||= 'pretty_spec_dox'
Motion::Project::App.setup do |app|
# Use `rake config' to see complete project settings.
app.name = 'TestSuite'
app.spec_files.insert(1, *FileList['../helpers/*.rb'])
app.deployment_target = ENV['deployment_target'] if ENV['deployment_target']
end

View File

@@ -2,12 +2,16 @@
$:.unshift(File.expand_path('../../../lib', __FILE__))
require 'motion/project/template/ios'
ENV['output'] ||= 'pretty_spec_dox'
Motion::Project::App.setup do |app|
# Use `rake config' to see complete project settings.
app.name = 'MacBacon UI'
app.interface_orientations = [:portrait, :landscape_left, :landscape_right, :portrait_upside_down]
app.frameworks << 'CoreGraphics'
#app.archs['iPhoneSimulator'] = ['x86_64']
app.spec_files.insert(1, *FileList['../helpers/*.rb'])
app.deployment_target = ENV['deployment_target'] if ENV['deployment_target']
end

View File

@@ -2,13 +2,15 @@ $:.unshift("../../lib")
#$:.unshift("/Library/RubyMotion/lib")
require 'motion/project'
ENV['output'] = 'pretty_spec_dox'
ENV['output'] ||= 'pretty_spec_dox'
Motion::Project::App.setup do |app|
# Use `rake config' to see complete project settings.
app.name = 'test'
app.frameworks += ['AddressBook', 'AddressBookUI', 'CoreData', 'CoreMIDI', 'GameKit']
app.vendor_project('vendor/code', :static)
app.spec_files.insert(1, *FileList['../helpers/*.rb'])
app.deployment_target = ENV['deployment_target'] if ENV['deployment_target']
end