@Stability(value=Experimental) public static final class PytestOptions.Builder extends Object implements software.amazon.jsii.Builder<PytestOptions>
PytestOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
PytestOptions |
build()
Builds the configured instance.
|
PytestOptions.Builder |
maxFailures(Number maxFailures)
Sets the value of
PytestOptions.getMaxFailures() |
PytestOptions.Builder |
testdir(String testdir)
Sets the value of
PytestOptions.getTestdir() |
PytestOptions.Builder |
version(String version)
Sets the value of
PytestOptions.getVersion() |
@Stability(value=Experimental) public PytestOptions.Builder maxFailures(Number maxFailures)
PytestOptions.getMaxFailures()maxFailures - Stop the testing process after the first N failures.this@Stability(value=Experimental) public PytestOptions.Builder testdir(String testdir)
PytestOptions.getTestdir()testdir - Directory with tests.this@Stability(value=Experimental) public PytestOptions.Builder version(String version)
PytestOptions.getVersion()version - Pytest version.this@Stability(value=Experimental) public PytestOptions build()
build in interface software.amazon.jsii.Builder<PytestOptions>PytestOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.