The CLI for the bespin test framework.
$ bespin
$ bespin --testFileFilter="**/example/path/specific.test.js"
$ bespin --testNameFilter="test name substring"
// bespin.config.js
const { Config } = require("@testingrequired/bespin-core");
const {
GlobTestFileLocator,
} = require("@testingrequired/bespin-glob-test-file-locator");
const {
SpecTestFileParse,
} = require("@testingrequired/bespin-spec-test-file-parser");
const { ParallelRunner } = require("@testingrequired/bespin-parallel-runner");
const { JUnitReporter } = require("@testingrequired/bespin-junit-reporter");
module.exports = new Config(__filename)
.withLocator(new GlobTestFileLocator("**/*.test.js"))
.withParser(new SpecTestFileParse())
.withRunner(new ParallelRunner(__filename, 10))
.withReporter(new JUnitReporter("./junit.xml"));
$ bespin -c bespin.config.js