atrium-api-infix

Provides an expectation function API in English in an infix style.

The main focus of this API's design is put on ease of use/compatibility with code completion functionality of an IDE.

Every expectation function starts with to.., feature extractors such as Expect<List<...>>.get(...) do not start with to.. where mixtures of feature extractor and expectation function such as toThrow are exceptions.

Expectation functions which you use often, will usually have a shortcut function, right at the fingertips after the expectation verb (e.g. Expect<IterableLike> toContainExactly ...) whereas functionality which are not that often use are behind a sophisticated builder such as Expect<IterableLike> toContain o and offer all available functions. For instance: Expect<IterableLik> toContain o inGiven order and only grouped entries within group inAny order(...)

Provides an expectation function API in English in an infix style.

The main focus of this API's design is put on ease of use/compatibility with code completion functionality of an IDE.

Every expectation function starts with to.., feature extractors such as Expect<List<...>>.get(...) do not start with to.. where mixtures of feature extractor and expectation function such as toThrow are exceptions.

Expectation functions which you use often, will usually have a shortcut function, right at the fingertips after the expectation verb (e.g. Expect<IterableLike> toContainExactly ...) whereas functionality which are not that often use are behind a sophisticated builder such as Expect<IterableLike> toContain o and offer all available functions. For instance: Expect<IterableLik> toContain o inGiven order and only grouped entries within group inAny order(...)

Packages

Link copied to clipboard
common

Contains API which provides an infix API in English and which has its design focus on usability in conjunction with code completion.

common

Contains parameter objects which help out in case Atrium requires more than one argument.

common

Contains parameter objects related to feature extraction.

common

Contains parameter objects related to Iterable.

common

Contains parameter objects related to Map.

Contains parameter objects related to Path.