moreover:
- also change description in reporting from `to be` to `to equal`
- don't provide a replacement for BigDecimal, it is a smell if someone
uses it.
moreover:
- make the distiction between toEqual and toBeEqualComparingTo clearer
- rewrite ComparableExpectationsSpec to new nameing and include test
cases for toBeLessThanOrEqualTo and toBeGreaterThanOrEqualTo where
the equals/compareTo contract is broken
moreover:
- do no longer provide an overload for Char for toStartWith and
toEndsWith. I prefer to have less API methods and less maintenance
compared to a nice to have. Which also means I prefer to force users
to write "a" over 'a' than more maintenance, more API methods
some additional renaming:
- mismatches to notToMatch
moreover:
- forgive bc/bbc which check that contains functions point to
containsNot under some circumstances because containsNot is now named
notToContain
we cannot yet remove it because we still have addAssertion on Expect
and if we remove it, would also have one on AssertionContainer. Two
different definitions which would not work together. This also means:
- deprecate addAssertion/addAssertionsCreatedBy/createAndAddAssertion
in Expect, add append... to AssertionContainer
moreover:
- adjust packages.md, also remove deprecaed modules there and remove
documentation which is no longer used
- remove createRegisterJsServicesTask in build.gradle
- adjust bbc/bc due to breaking changes (removal of different types).
in the same go we have to forgive bc for infix as we no longer have
ReporterFactory and since we don't use ascii bullet points in infix
tests any more since 0.16.0 - we have established own tests for this
aspect
- rename RealTranslatorIntSpec to TranslatorIntSpec and remove the
existing TranslatorIntSpec which was intended for ReporterFactory
based implementations.
instead of only one. Moreover, use an explanatory assertion group with
a warning group type. Looks then as follows:
expected that subject: /tmp/spek16789805802838758490/notEmpty (sun.nio.fs.UnixPath <1842823132>)
◆ is: an empty directory
❗❗ directory contains:
⚬ f5 (sun.nio.fs.UnixPath <1295966993>)
⚬ f2 (sun.nio.fs.UnixPath <878629898>)
⚬ f3 (sun.nio.fs.UnixPath <1318008636>)
⚬ f0 (sun.nio.fs.UnixPath <452118766>)
⚬ f1 (sun.nio.fs.UnixPath <552502986>)
⚬ f8 (sun.nio.fs.UnixPath <1657993305>)
⚬ f9 (sun.nio.fs.UnixPath <1439892968>)
⚬ f4 (sun.nio.fs.UnixPath <1508512260>)
⚬ f6 (sun.nio.fs.UnixPath <224794405>)
⚬ f7 (sun.nio.fs.UnixPath <2013476576>)
⚬ ...
moreover:
- cleanup samples, isNotEmptyDirectory should actually be in
isEmptyDirectory because we might have a isNotEmptyDirectory in the
future. Same same for isSymbolicLink.
- move PathAssertionSamples also to deprecated package
- rename toBeASymbolicLink to isSymbolicLink for now. Will do the rename
once we rename all
-