Skip to content

Releases: robstoll/atrium

Multiple APIs

20 Jul 09:28
Compare
Choose a tag to compare

Jar's can be found here: https://bintray.com/robstoll/tutteli-jars/atrium/0.4.0
API Maturity: Almost Stable
Implementation Maturity: Development

I provide more or less a stable API for users of Atrium. Only the ReporterBuilder, which you use only to build your own assertion verb might slightly change its API (so migrating will be just a few lines in one file). There won't be any changes in the API of the assertion functions/builders.
However, I do not provide yet a stable API for the core of Atrium -- this might affect you if you write your own assertion functions as well as when you provide your own implementation of the core of Atrium.

Included in this release:

Functions to create single assertions and assertion groups.

assertion functions and builders

Components

  • Translator including a PropertiesBasedTranslationSupplier
  • OnlyFailureReporting
  • TextSameLineAssertionFormatter
  • DetailedObjectFormatter
  • ArgumentFormatter

Improvements compared to 0.3.0

  • splitting of API and implementation; which enables to define multiple APIs
  • feature assertion builders for collection/iterable
  • introduction of explanatory assertion groups
  • fixes for IAssertionPlantCheckingLazily -> simplified, introduce ReportingPlant as a replacement
  • improved README, better explained examples

Not included in this release yet

  • overload for Iterable<T> contains assertions which support identification lambdas for nullable types.

i18n for atrium

20 Jul 09:28
Compare
Choose a tag to compare

Jar's can be found here: https://bintray.com/robstoll/tutteli-jars/atrium/0.3.0
API Maturity: Almost Stable
Implementation Maturity: Development
(I provide a more or less a stable API for users of Atrium but not yet for implementers of atrium)

Included in this release:

assertion functions

Components

  • Translator including a PropertiesBasedTranslationSupplier
  • OnlyFailureReporting
  • SameLineAssertionFormatter
  • DetailedObjectFormatter
  • ArgumentFormatter

Improvements compared to 0.2.0

  • i18n support for assertions and assertion verbs
  • feature assertion for methods (0.2.0 had only feature assertions for properties)
  • a few more assertion functions
  • improved formatting in DetailObjectFormatter (boolean, enums, and KClass are treated specially)
  • further improved Code-Documentation incl. a better readable layout (see KDoc)

Not included in this release yet

  • basic assertion functions for collections (containsOnly, contains, containsNot, containsInOrder etc.)

Atrium's first Dev Release

20 Jul 09:28
Compare
Choose a tag to compare
Pre-release

Jar's can be found here: https://bintray.com/robstoll/tutteli-jars/atrium/0.2.0
Maturity: Development

Included in this release:

  • lazily and immediately evaluated assertions
  • assertion for nullable types
  • assertions about thrown exceptions
  • feature assertions for properties (functions should follow with Kotlin 1.1.2 assuming they fixed the reported bug)
  • generich check for properties (functions should follow with Kotlin 1.1.2 assuming they fixed the reported bug)
  • OnlyFailureReporting
  • SameLineAssertionFormatter
  • DetailedObjectFormatter
  • and a minimal set of assertion functions

Improvements compared to 0.1.0

  • cleaner code design (separation of creation, checking and reporting)
  • improved Code-Documentation (KDoc available on gh-pages)
  • Proper README
  • Separation of API and implementation (atrium-impl-robstoll could be exchanged by another implementation)
  • Spec for atrium in form of tests which can be reused by other implementation

Not included in this release yet:

  • basic assertion functions for collections (containsOnly, contains, containsNot, containsInOrder etc.)
  • support for multi-language assertions

Minimal Version

20 Jul 09:28
Compare
Choose a tag to compare
Minimal Version Pre-release
Pre-release

A minimal version of assertK including:

  • assertion verb "assert"
  • lazy and immediate assertions
  • assertion for nullable types
  • feature assertions for properties (functions will follow)
  • except{} for Throwable
  • OnlyFailureReporting
  • SameLineAssertionMessageFormatter
  • and a minimal set of assertion functions

Not included in this release yet:

  • a not operator
  • assertion functions for collections
  • assertion functions in form of operators