README.md in motion-juxtapose-0.2.0 vs README.md in motion-juxtapose-0.3.0

- old
+ new

@@ -74,10 +74,32 @@ max_attempts = 20 expect(screenshotter.attempt_verify(max_attempts)).to eq(true) end ``` +### Appium + +Add the following config to your features/support/env.rb: + +```ruby +require 'motion-juxtapose' +Juxtapose::AppiumStrategy.setup +``` + +This lets you write a screenshot matcher along the lines of: + +```ruby +Then /^the screen should match "([^\"]*)"$/ do |template| + wait_for_nothing_to_be_animating + #unlike frank we need to pass in a project root to find the screenshot directory + screenshotter = Juxtapose::Screenshotter.new(self, template, 0, File.expand_path('./')) + + max_attempts = 20 + expect(screenshotter.attempt_verify(max_attempts)).to eq(true) +end +``` + ## Testing Rails Apps ### Capybara Any Capybara driver that supports screenshot capture should work, but I've only tested this with [Poltergeist](https://github.com/teampoltergeist/poltergeist) so far. @@ -129,10 +151,14 @@ To start it, run `bundle exec juxtapose` in the root of your project and browse to localhost:4567. ## Release Notes +#### v.0.3.0 +* Add Appium support ([@squidpunch](http://github.com/squidpunch)) +* Add support for 6/6+ screen sizes ([@squidpunch](http://github.com/squidpunch)) + #### v.0.2.0 * Rails/rspec support * Fixes to work under newest version of ImageMagick #### v.0.1.1 @@ -148,9 +174,10 @@ * [Joe Lind](http://github.com/joelind) * [Thomas Mayfield](http://github.com/thegreatape ) * [Jeffrey Chupp](http://github.com/semanticart) * [Michael Denomy](http://github.com/mdenomy) +* [David Larrabee](http://github.com/squidpunch) ## Contributing 1. Fork it