Class TestTableItem.Builder
- Enclosing class:
- TestTableItem
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract TestTableItembuild()abstract TestTableItem.BuilderexceptionIfMldev(String exceptionIfMldev) Setter for exceptionIfMldev.abstract TestTableItem.BuilderexceptionIfVertex(String exceptionIfVertex) Setter for exceptionIfVertex.abstract TestTableItem.BuilderhasUnion(boolean hasUnion) Setter for hasUnion.ignoreKeys(String... ignoreKeys) Setter for ignoreKeys.abstract TestTableItem.BuilderignoreKeys(List<String> ignoreKeys) Setter for ignoreKeys.abstract TestTableItem.BuilderSetter for name.abstract TestTableItem.BuilderoverrideReplayId(String overrideReplayId) Setter for overrideReplayId.abstract TestTableItem.Builderparameters(Map<String, Object> parameters) Setter for parameters.abstract TestTableItem.BuilderskipInApiMode(String skipInApiMode) Setter for skipInApiMode.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Setter for name.name: The name of the test. This is used to derive the replay id.
-
parameters
Setter for parameters.parameters: The parameters to the test. Use pydantic models.
-
exceptionIfMldev
Setter for exceptionIfMldev.exceptionIfMldev: Expects an exception for MLDev matching the string.
-
exceptionIfVertex
Setter for exceptionIfVertex.exceptionIfVertex: Expects an exception for Vertex matching the string.
-
overrideReplayId
Setter for overrideReplayId.overrideReplayId: Use if you don't want to use the default replay id which is derived from the test name.
-
hasUnion
Setter for hasUnion.hasUnion: True if the parameters contain an unsupported union type. This test will be skipped for languages that do not support the union type.
-
skipInApiMode
Setter for skipInApiMode.skipInApiMode: When set to a reason string, this test will be skipped in the API mode. Use this flag for tests that can not be reproduced with the real API. E.g. a test that deletes a resource.
-
ignoreKeys
Setter for ignoreKeys.ignoreKeys: Keys to ignore when comparing the request and response. This is useful for tests that are not deterministic.
-
ignoreKeys
Setter for ignoreKeys.ignoreKeys: Keys to ignore when comparing the request and response. This is useful for tests that are not deterministic.
-
build
-