<commit_before>When /^I generate a new feature called "([^\"]*)" for module "([^\"]*)"$/ do |feature, mod|
  fail unless system("cd #{@project} && ./bin/cucumber-puppet-gen feature #{mod} #{feature}")
end<commit_msg>test for existence of generated feature file<commit_after>When /^I generate a new feature called "([^\"]*)" for module "([^\"]*)"$/ do |feature, mod|
  fail unless system("cd #{@project} && ./bin/cucumber-puppet-gen feature #{mod} #{feature}")
end

Then /^a feature file for "([^\"]*)" in module "([^\"]*)" should exist$/ do |feature, mod|
  fail unless File.exists?("#{@project}/features/modules/#{mod}/#{feature}.feature")
end
{'fraction_non_alphanumeric': 0.2329192546583851, 'fraction_numerical': 0.0, 'mean_word_length': 5.084905660377358, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3179406', 'n_tokens_mistral': 211, 'n_tokens_neox': 210, 'n_words': 63}