DevOps Articles

Curated articles, resources, tips and trends from the DevOps World.

How to Make Your Own Hamcrest Matchers in Kotlin

5 years ago dzone.com
How to Make Your Own Hamcrest Matchers in Kotlin

Summary: This is a summary of an article originally published by the source. Read the full original article here →

First things first, I should quickly explain what a Hamcrest Matcher is. When conducting unit tests, the built-in assertion types that come with the testing framework are generally pretty limited. They make it very easy for a person to end up with multiple asserts to essentially check one thing.

Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com