<commit_before>= cucumber-cinema

Take a series of screenshots while runing your cucumber test suite. Movie is composed of screenshots of pages as
they appear in the end of each scenario. Cinematographer attempts to avoid duplicates by taking screenshots of
pages that have unique urls (without integer values that may represent model ids). In addition, screen shots of
emails with distinct subject are also taken

== Installation

Add this to you Gemfile

  group :test do
    gem 'cucumber-cinema'
  end
And bundle bundle install

Install wkhtmltoimage (https://github.com/csquared/IMGKit)

Add this to features/support/cucumber_screenhot.rb
  CucumberCinema::ViewSelectStrategy::new_movie
  After do
    screenshot_emails
  end

Enable cucumber cinema
  export CUCUMBER_CINEMA=true

== Usage

Run your cucumber suite and screenshots will be generated in directory tmp/screenshots/.<commit_msg>note for myself to dump content at the end<commit_after>= cucumber-cinema

Take a series of screenshots while runing your cucumber test suite. Movie is composed of screenshots of pages as
they appear in the end of each scenario. Cinematographer attempts to avoid duplicates by taking screenshots of
pages that have unique urls (without integer values that may represent model ids). In addition, screen shots of
emails with distinct subject are also taken

== Installation

Add this to you Gemfile

  group :test do
    gem 'cucumber-cinema'
  end
And bundle bundle install

Install wkhtmltoimage (https://github.com/csquared/IMGKit)

Add this to features/support/cucumber_screenhot.rb
  CucumberCinema::ViewSelectStrategy::new_movie
  After do
    screenshot_emails
  end

  at_exit do
   puts $cucumber_cinema_all_screenshots
  end

Enable cucumber cinema
  export CUCUMBER_CINEMA=true

== Usage

Run your cucumber suite and screenshots will be generated in directory tmp/screenshots/.
{'fraction_non_alphanumeric': 0.04091392136025505, 'fraction_numerical': 0.0, 'mean_word_length': 4.671686746987952, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2516641', 'n_tokens_mistral': 554, 'n_tokens_neox': 524, 'n_words': 230}