<commit_before>require "capybara_minitest_spec/version"

require 'minitest/autorun'
require 'minitest/spec'
require 'capybara'
require 'capybara/rspec/matchers'
require "capybara_minitest_spec/test_name"

module CapybaraMiniTestSpec

  module_function

  # Define assertions and spec expectations for both positive and negative forms of the matcher name.
  def add_matcher(matcher_name)
    positive_name = CapybaraMiniTestSpec::PositiveTestName.new(matcher_name)
    negative_name = CapybaraMiniTestSpec::NegativeTestName.new(matcher_name)
    [positive_name, negative_name].each do |test_name|<commit_msg>Require minitest, not autorun<commit_after>require "capybara_minitest_spec/version"

require 'minitest'
require 'minitest/spec'
require 'capybara'
require 'capybara/rspec/matchers'
require "capybara_minitest_spec/test_name"

module CapybaraMiniTestSpec

  module_function

  # Define assertions and spec expectations for both positive and negative forms of the matcher name.
  def add_matcher(matcher_name)
    positive_name = CapybaraMiniTestSpec::PositiveTestName.new(matcher_name)
    negative_name = CapybaraMiniTestSpec::NegativeTestName.new(matcher_name)
    [positive_name, negative_name].each do |test_name|
{'fraction_non_alphanumeric': 0.07037643207855974, 'fraction_numerical': 0.0, 'mean_word_length': 7.099337748344371, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6412153', 'n_tokens_mistral': 407, 'n_tokens_neox': 394, 'n_words': 82}