<commit_before>var buster = require("buster-node");

buster.testRunner.onCreate(function (runner) {
    buster.referee.on("pass", runner.assertionPass.bind(runner));

    runner.on("suite:end", function (results) {
        setTimeout(function () {
            process.exit(results.ok ? 0 : 1);
        }, 50);
    });
});

buster.testContext.on("create", buster.autoRun());

require("./test/operand-test");
require("./test/option-test");
require("./test/parser-test");
require("./test/posix-argv-parser-test");
require("./test/shorthand-test");
require("./test/types-test");
require("./test/validators-test");<commit_msg>Proper test setup<commit_after>var buster = require("buster-node");
require("./test/operand-test");
require("./test/option-test");
require("./test/parser-test");
require("./test/posix-argv-parser-test");
require("./test/shorthand-test");
require("./test/types-test");
require("./test/validators-test");
{'fraction_non_alphanumeric': 0.22643553629469124, 'fraction_numerical': 0.004333694474539545, 'mean_word_length': 4.634146341463414, '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': '290266', 'n_tokens_mistral': 308, 'n_tokens_neox': 304, 'n_words': 35}