We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For the CLI, it would be nice (for CI pipelines) to have a threshold you can set for a successful run. EX:
cuke_sniffer_conf. (json/yaml, etc) THRESHOLDS: { "Project": 100, "Feature": 6, "Scenario": 4, "StepDefinition": 5, "Hook": 10 }
// this would update the THRESHOLDS in constants.rb
Then in cli.rb def output_results CukeSniffer::Formatter.output_console(self) any_thresholds_breached ? exit 0 : exit -1 end
That way there's a way to exit out of the build pipeline if you're over threshold
The text was updated successfully, but these errors were encountered:
I like this suggestion. I might even look into implementing it.
Sorry, something went wrong.
No branches or pull requests
For the CLI, it would be nice (for CI pipelines) to have a threshold you can set for a successful run. EX:
cuke_sniffer_conf. (json/yaml, etc)
THRESHOLDS: {
"Project": 100,
"Feature": 6,
"Scenario": 4,
"StepDefinition": 5,
"Hook": 10
}
// this would update the THRESHOLDS in constants.rb
Then in cli.rb
def output_results
CukeSniffer::Formatter.output_console(self)
any_thresholds_breached ? exit 0 : exit -1
end
That way there's a way to exit out of the build pipeline if you're over threshold
The text was updated successfully, but these errors were encountered: