public static class TestConfiguration.TestConfigurationBuilder extends Object
TestConfiguration instance.| Constructor and Description |
|---|
TestConfigurationBuilder() |
| Modifier and Type | Method and Description |
|---|---|
TestConfiguration |
build()
Creates a new instance of
TestConfiguration using the configured properties. |
TestConfiguration.TestConfigurationBuilder |
setFailureImpact(int failureImpact)
Sets the number of points to increase or decrease the score if a test has failed.
|
TestConfiguration.TestConfigurationBuilder |
setMaxScore(int maxScore)
Sets the maximum score to achieve for the test results.
|
TestConfiguration.TestConfigurationBuilder |
setPassedImpact(int passedImpact)
Sets the number of points to increase or decrease the score if a test has passed.
|
TestConfiguration.TestConfigurationBuilder |
setSkippedImpact(int skippedImpact)
Sets the number of points to increase or decrease the score if a test is skipped.
|
public TestConfiguration.TestConfigurationBuilder setMaxScore(int maxScore)
maxScore - maximum score to achieve for the test results.public TestConfiguration.TestConfigurationBuilder setSkippedImpact(int skippedImpact)
skippedImpact - number of points to increase or decrease the score if a test is skippedpublic TestConfiguration.TestConfigurationBuilder setFailureImpact(int failureImpact)
failureImpact - number of points to increase or decrease the score if a test has failedpublic TestConfiguration.TestConfigurationBuilder setPassedImpact(int passedImpact)
passedImpact - number of points to increase or decrease the score if a test has passedpublic TestConfiguration build()
TestConfiguration using the configured properties.Copyright © 2016–2020. All rights reserved.