StringSelfie

class StringSelfie(val actual: Snapshot, disk: DiskStorage, onlyFacets: Collection<String>? = null) : DiskSelfie, StringFacet

Constructors

Link copied to clipboard
constructor(actual: Snapshot, disk: DiskStorage, onlyFacets: Collection<String>? = null)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun facet(facet: String): StringFacet

Extract a single facet from a snapshot in order to do an inline snapshot.

Link copied to clipboard
open override fun facetBinary(facet: String): BinarySelfie
Link copied to clipboard
open override fun facets(vararg facets: String): StringFacet

Extract multiple facets from a snapshot in order to do an inline snapshot.

Link copied to clipboard
open override fun toBe(expected: String): String
Link copied to clipboard
open override fun toBe_TODO(): String
Link copied to clipboard
open override fun toMatchDisk(sub: String): StringSelfie
Link copied to clipboard
open override fun toMatchDisk_TODO(sub: String): StringSelfie