Releases: robfletcher/strikt
Releases · robfletcher/strikt
Distant Princess
- Adds
count()
andcount(predicate)
mappings forIterable
subjects. - Additional support for
File
subjects. See #230- mapping property
Assertion.Builder<File>.parentFile: Builder<File>
- mapping property
Assertion.Builder<File>.lastModified: Long
- mapping property
Assertion.Builder<File>.length: Long
- mapping property
Assertion.Builder<File>.childFiles: Builder<List<File>>
- mapping function
Assertion.Builder<File>.childFile(name): Builder<File>
- assertion
Assertion.Builder<File>.exists()
- assertion
Assertion.Builder<File>.notExists()
- assertion
Assertion.Builder<File>.isRegularFile()
- assertion
Assertion.Builder<File>.isNotRegularFile()
- assertion
Assertion.Builder<File>.isDirectory()
- assertion
Assertion.Builder<File>.isNotDirectory()
- assertion
Assertion.Builder<File>.isReadable()
- assertion
Assertion.Builder<File>.isNotReadable()
- assertion
Assertion.Builder<File>.isWritable()
- assertion
Assertion.Builder<File>.isNotWritable()
- assertion
Assertion.Builder<File>.isExecutable()
- assertion
Assertion.Builder<File>.isNotExecutable()
- mapping property
Invincible Sadness
Hungry Spear
Kotlin 1.4 compatibility
Quicksilver Silhouette
New features
Assertion.Builder<Iterable<E>>withFirst
Assertion.Builder<Iterable<E>>withFirst(predicate)
Assertion.Builder<Iterable<E>>withLast
Assertion.Builder<Iterable<E>>withElementAt
Assertion.Builder<Map<K, V>>withValue
Assertion.Builder<CapturingSlot<T>>withCaptured
in strikt-mockk.
Ferocious Daughter
Blighted Depths
Added strikt-mockk
module
Auspicious Misery
- New methods:
Assertion.Builder<Iterable<T>>.elementAt
Assertion.Builder<Iterable<T>>.one
Assertion.Builder<ArrayNode>.findValuesAsText
Assertion.Builder<ArrayNode>.textValues
Celestial Depths
Fixes filepeek on Windows
Weeping Spire
- Fixes missing transitive dependency on
com.christophsturm:filepeek