UNPKG

@nx-plugins/stryker

Version:

The Nx Plugin for Stryker that contains executors and generators for allowing your workspace to use powerful Stryker mutation testing capabilities.

130 lines (129 loc) 4.38 kB
{ "$schema": "http://json-schema.org/schema", "cli": "nx", "title": "Stryker executor", "description": "", "type": "object", "properties": { "strykerConfig": { "description": "The path of the Stryker configuration. (https://stryker-mutator.io/docs/stryker-js/configuration)", "type": "string" }, "allowConsoleColors": { "description": "Should use colors in console", "type": "boolean" }, "buildCommand": { "description": "The command to run to build the project", "type": "string" }, "checkers": { "description": "Specify the checkers plugins", "type": "string" }, "checkersNodeArgs": { "description": "Specify the checkers arguments", "type": "string" }, "cleanTempDir": { "description": "Should clean the temp directory", "type": "boolean" }, "concurrency":{ "description": "Specify the number of concurrent runs", "type": "number" }, "coverageAnalysis": { "description": "Specify which coverage analysis strategy you want to use.", "enum": [ "off", "all", "perTest" ], "type": "string" }, "disableBail": { "type": "boolean", "description": "Configure the test runner to report all failing tests when a mutant is killed instead of bailing after the first failing test" }, "dryRunTimeoutMinutes": { "type": "number", "description": "configure an absolute timeout for the initial test run" }, "fileLogLevel": { "type": "string", "enum": [ "off", "fatal", "error", "warn", "info", "debug", "trace" ], "description": "Set the log level that Stryker uses to write to the stryker.log file" }, "ignorePatterns": { "type": "string", "description": "Specify the patterns to all files or directories that are not used to run your tests and thus should not be copied to the sandbox directory" }, "ignoreStatic": { "type": "boolean", "description": "Static mutants are mutants which are only executed during the loading of a file" }, "inPlace": { "type": "boolean", "description": "indicates whether Stryker should mutate the files in place" }, "logLevel": { "type": "string", "enum": [ "off", "fatal", "error", "warn", "info", "debug", "trace" ], "description": "Set the log level that Stryker uses to write to the console." }, "maxTestRunnerReuse": { "type": "number", "description": "Restart each test runner worker process after n runs." }, "mutate": { "type": "string", "description": "indicates whether Stryker should mutate the files configure the subset of files to be mutated" }, "plugins": { "type": "string", "description": "configure the plugins that Stryker should use you can add additional Node modules for Stryker to load (using import)" }, "reporters": { "type": "string", "description": "configure the reporters that Stryker should use you can add additional Node modules for Stryker to load (using import)set the reporters for Stryker to use." }, "tempDirName": { "type": "string", "description": "choose a different temp dir that Stryker uses for mutation testing. " }, "testRunner": { "type": "string", "description": "configure the test runner that Stryker should use you can add additional Node modules for Stryker to load (using import)set the reporters for Stryker to use.allows you to specify an output folder.to use cyan and yellow in printing source file names and positions.specify the test runner that Stryker uses to run your tests." }, "testRunnerNodeArgs": { "type": "string", "description": "Configure arguments to be passed as exec arguments to the test runner child process." }, "timeoutFactor": { "type": "number", "description": "configure the timeoutFactor" }, "timeoutMS": { "type": "number", "description": "configure the timeoutMS" } }, "required": [] }