22 July 2015 - 1.0.10 -> 1.0.111
Thanks to Kai Schlichting
29 June 2015 - 1.0.9 -> 1.0.10
Thanks to Systho
Thanks to Jan Lelis
- Less aggressive pruning
- Fix capybara-webkit bug, see mattheworiordan#119
- Fix Travis CI builds in Ruby < 2.1 and added Ruby 2.2 support
- Removed dependency on the colored gem
Thanks to François Bernier
- Added support for appending a random string to the filename
Thanks to Brad Wedell
- Added support for Poltergeist Billy
- Don't initialize a new Capybara::Session in after hook
Thanks to Neodude and Dominik Masur
- Added ability to prune screenshots automatically, see mattheworiordan#100
Thanks to Anton Kolomiychuk for his contribution.
- Improved documentation to cover RSpec 3's new approach to using
rails_helper
in place ofspec_helper
for Rails tests - Updated documentation to use Ruby formatting in language blocks
- Removed need to manually
require 'capybara-screenshot'
for RSpec
- Hot fix for RSpec version issue that assumed RSpec base library was always available, now uses
RSpec::Core::VERSION
- Improve Travis CI performance and stability
Because of the broad test coverage now across RSpec, Cucumber, Spinach, Minitest and TestUnit using Aruba, I feel that this gem is ready for its first major release. New features and refactoring can now reliably be done without the fear of regressions.
The major changes in this 1.0 release are:
- Acceptance test coverage for RSpec, Cucumber, Spinach, Minitest and TestUnit
- Travis CI test coverage across a matrix of old and new versions of the aforementioned testing frameworks, see https://github.com/mattheworiordan/capybara-screenshot/blob/master/.travis.yml
- Support for RSpec 3 using the custom formatters
- Support for sessions using
using_session
, see mattheworiordan#91 for more info - Support for RSpec DocumentationFormatter
- Considerable refactoring of the test suite
Special thanks goes to Andrew Brown who has contributed a huge amount of the code that has helped enable this Gem to have its stable major version release.
Replaced colorize gem with colored due to license issue, see mattheworiordan#93.
As a result of recent merges and insufficient test coverage, it seems that for test suites other than RSpec the HTML or Image screenshot path was no longer being outputted in the test results. This has now been fixed, and screenshot output format for RSpec and all other test suites has been standardised.
- Added reporters to improve screenshot info in RSpec output
- Added support for Webkit options such as width and height
Thanks to https://github.com/multiplegeorges and https://github.com/noniq
- Added support Spinach, thanks to https://github.com/suchitpuri
- Added support for RSpec 3 and cleaned up the logging so there is less noise within the test results when a driver does not support a particular format.
- Updated Travis to test against Ruby 2.0 and Ruby 2.1
Thanks to https://github.com/noniq
Bug fix for Minitest 5, thanks to https://github.com/cschramm
Added support for Test Unit, fixed RSpec deprecation warnings and fixed a dependency issue.
Thanks to:
- https://github.com/budnik
- https://github.com/jkraemer
- https://github.com/mariovisic
https://github.com/stevenwilkin contributed code to display a warning for Mechanize users.
Dropped Ruby 1.8 support for this Gem because of conflicts with Nokogiri requiring a later version of Ruby. Instead, there is a new branch https://github.com/mattheworiordan/capybara-screenshot/tree/ruby-1.8-support which can be used if requiring backwards compatabiltiy.
Improved documentation, Ruby 1.8.7 support by not allowing Capybara 2.1 to be used, improved Sinatra support. RSpec screenshot fix to only screenshot when applicable: mattheworiordan#44
Support for Terminus, thanks to https://github.com/jamesotron
Previos version bump broke Ruby 1.8.7 support, so Travis CI build added to this Gem and Ruby 1.8.7 support along with JRuby support added.
After some consideration, and continued problems with load order of capybara-screenshot in relation to other required gems, the commits from @adzap in the pull request mattheworiordan#29 have been incorporated. Moving forwards, for every testing framework you use, you will be required to add an explicit require.
Merged pull request mattheworiordan#14 to limit when capybara-screenshot is fired for RSpec
Merged pull request from https://github.com/hlascelles to support Padrino
Removed unnecessary and annoying warning that a screen shot cannot be taken. This message was being shown when RSpec tests were run that did not even invoke Capybara
Updated documentation to reflect support for more frameworks, mattheworiordan#9
Removed Cucumber dependency mattheworiordan#7 Allowed PNG save path to be configured using capybara.save_and_open_page_path
More robust handling of Minitest for users who have it installed as a dependency mattheworiordan#5
Fixed bug related to teardown hook not being available in Minitest for some reason (possibly version issues). mattheworiordan#5
Added support for:
- More platforms (Poltergeist)
- Removed Rails dependencies (bug)
- Added screenshot capability for Selenium
- Added support for embed for HTML reports
Thanks to https://github.com/rb2k for 2 great commits
Added support for Minitest using teardown hooks
Added support for RSpec by adding a RSpec configuration after hook and checking if Capybara is being used.
Ensured that tests run other than Cucumber won't fail. Prior to this Cucumber was required.