Class TestTableItem.Builder
- Enclosing class:
- TestTableItem
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract TestTableItem
build()
abstract TestTableItem.Builder
exceptionIfMldev
(String exceptionIfMldev) Setter for exceptionIfMldev.abstract TestTableItem.Builder
exceptionIfVertex
(String exceptionIfVertex) Setter for exceptionIfVertex.abstract TestTableItem.Builder
hasUnion
(boolean hasUnion) Setter for hasUnion.ignoreKeys
(String... ignoreKeys) Setter for ignoreKeys.abstract TestTableItem.Builder
ignoreKeys
(List<String> ignoreKeys) Setter for ignoreKeys.abstract TestTableItem.Builder
Setter for name.abstract TestTableItem.Builder
overrideReplayId
(String overrideReplayId) Setter for overrideReplayId.abstract TestTableItem.Builder
parameters
(Map<String, Object> parameters) Setter for parameters.abstract TestTableItem.Builder
skipInApiMode
(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
-