Tired of generating your screen dumps by hand for your appstore submissions? MotionBlow makes it easy to get all the hi-res screen dumps for your app across all your supported devices.
> git clone https://github.com/derailed/motion-blow.git
> cd motion-blow
> bundle
> rake motion:blow
gem install motion-blow
MotionBlow leverages MacBacon to exercise your app legs and makes it a snap to capture the essence of your various screens.
Make a directory spec/snapshot and add your screen driving spec.
NOTE: The naming must be just right so MotionBlow can pick up your spec runner!
# spec/snapshot/blow.rb
describe 'ColonBlow' do
include MotionBlow
tests MyTopLevelViewController
it "dumps all my screens correctly" do
# Take the snapshot
snap!
# Nav somewhere else
tap( 'chain' )
# Take a new snapshot
snap!
...
# Done bail out of the simulator
flush!
end
end
> rake motion:blow
MotionBlow creates a spec/snapshot/pngs/device_xxx directory containing all the screen shots per the specification of your snap! calls.
You can then upload your favorite app snapshots and you're done!
Fernand Galiana
MotionBlow is released under the MIT license.
- 0.0.1:
- Initial drop