Skip to content
#

assertion-library

Here are 74 public repositories matching this topic...

atrium
robstoll
robstoll commented Sep 29, 2020

Platform (all, jvm, js, android): all
Extension (none, kotlin 1.3): none

Code related feature

expect(path).contains("test.txt", "dummy.log")

//instead of

expect(path).isDirectory() and {
  resolve("test.txt") { exists() }
  resolve("dummy.log") { exists() }
}

Following the things you need to do:

api-fluent

  • provide a fun contains which expects `path:
theramis
theramis commented Sep 30, 2020

Is your feature request related to a problem? Please describe.
Currently Snapper returns the error A snapshot does not exist when a snapshot does not exist. The user then has to go and set the UpdateSnapshots attribute and re-run the tests. This is cumbersome and an extra step that can be avoided to improve developer experience.

Describe the solution you'd like
If the environment

Improve this page

Add a description, image, and links to the assertion-library topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the assertion-library topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.