<commit_before>
var path    = require('path');
var helpers = require('<%= pkg %>').test;

describe('<%= classify(name) %> generator test', function() {
  before(helpers.before(path.join(__dirname, './temp')));

  it('runs sucessfully', function(done) {
    helpers.runGenerator('<%= name %>', done);
  });

  it('creates expected files', function() {
  <% if(files) {%> <% files.forEach(function(f) { %>
    helpers.assertFile('<%= f %>');
  <% });%><% } else {%>
    // Use helpers.assertFile() to help you test the output of your generator
    //
    // Example:
    //
    //    // check file exists
    //    helpers.assertFile('app/model/post.js');
    //    // Check content<commit_msg>_.str API not available directly anymore, use `_` prop<commit_after>
var path    = require('path');
var helpers = require('<%= pkg %>').test;

describe('<%= _classify(name) %> generator test', function() {
  before(helpers.before(path.join(__dirname, './temp')));

  it('runs sucessfully', function(done) {
    helpers.runGenerator('<%= name %>', done);
  });

  it('creates expected files', function() {
  <% if(files) {%> <% files.forEach(function(f) { %>
    helpers.assertFile('<%= f %>');
  <% });%><% } else {%>
    // Use helpers.assertFile() to help you test the output of your generator
    //
    // Example:
    //
    //    // check file exists
    //    helpers.assertFile('app/model/post.js');
    //    // Check content
{'fraction_non_alphanumeric': 0.211781206171108, 'fraction_numerical': 0.0, 'mean_word_length': 3.1005747126436782, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, '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': '4122066', 'n_tokens_mistral': 478, 'n_tokens_neox': 446, 'n_words': 104}