Liking cljdoc? Tell your friends :D

datasplash.testing.assert

Namespace to expose PAssert based matchers to test pipelines. Because PAssert is made to be used with JUnit, assertions will only raise AssertionError.

Namespace to expose `PAssert` based matchers to test pipelines.
Because `PAssert` is made to be used with JUnit, assertions will only raise `AssertionError`.
raw docstring

as-flattenedclj

(as-flattened pcoll-list)

Returns an IterableAssert for a flattened PCollectionList.

Returns an `IterableAssert` for a flattened PCollectionList.
sourceraw docstring

as-iterableclj

(as-iterable pcoll)

Returns an IterableAssert for a given PCollection.

Returns an `IterableAssert` for a given PCollection.
sourceraw docstring

as-mapclj

(as-map kv-pcoll)

Returns a SingletonAssert for a given KV PCollection coerce as a map.

Returns a `SingletonAssert` for a given KV PCollection coerce as a map.
sourceraw docstring

as-multimapclj

(as-multimap kv-pcoll)

Returns a SingletonAssert for a given KV PCollection coerce as a multimap.

Returns a `SingletonAssert` for a given KV PCollection coerce as a multimap.
sourceraw docstring

as-singletonclj

(as-singleton pcoll)

Returns a SingletonAssert for a given one element PCollection.

Returns a `SingletonAssert` for a given **one element** PCollection.
sourceraw docstring

as-singleton-iterableclj

(as-singleton-iterable pcoll)

Returns an IterableAssert for a given PCollection. The provided PCollection must use an IterableCoder and have one element.

Returns an `IterableAssert` for a given PCollection.
The provided PCollection must use an `IterableCoder` and have one element.
sourceraw docstring

AssertContainsOnlycljprotocol

contains-onlyclj

(contains-only this expected)

Asserts element only contains expected in any order.

Asserts element only contains expected **in any order**.
source

AssertEqualscljprotocol

equals-toclj

(equals-to this expected)

Asserts element is equal to expected.

Asserts element is equal to expected.
source

AssertIsEmptycljprotocol

is-emptyclj

(is-empty this)

Asserts element is empty.

Asserts element is empty.
source

AssertNotEqualscljprotocol

not-equals-toclj

(not-equals-to this expected)

Asserts element is not equal to expected value.

Asserts element is not equal to expected value.
source

AssertSatisfiescljprotocol

satisfiesclj

(satisfies this pred)

Asserts element against a predicate function.

Asserts element against a predicate function.
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close