Displaying 1 to 20 from 40 results

mockk - mocking library for Kotlin

  •    Kotlin

We are actively looking for contributors and co-authors. There are two ambitious goals, that look unachievable at first sight, but in my opinion is essential to win Kotlin competition and require just hard and inventive work. They are - support for Kotlin/JS and Kotlin/Native platforms. If you think you can accept one of this two challenges and join us please contact me. All you need to get started is just to add a dependency to MockK library.

Cuckoo - Boilerplate-free mocking framework for Swift!

  •    Swift

Cuckoo was created due to lack of a proper Swift mocking framework. We built the DSL to be very similar to Mockito, so anyone using it in Java/Android can immediately pick it up and use it. Cuckoo has two parts. One is the runtime and the other one is an OS X command-line tool simply called CuckooGenerator.

Gomega - Ginkgo's Preferred Matcher Library

  •    Go

Gomega is a matcher/assertion library. It is best paired with the Ginkgo BDD test framework, but can be adapted for use in other contexts too.

Hamcrest - library of matchers for building test expressions

  •    Java

Hamcrest provides a library of matcher objects (also known as constraints or predicates) allowing 'match' rules to be defined declaratively, to be used in other frameworks. Typical scenarios include testing frameworks, mocking libraries and UI validation rules. Hamcrest has been ported to Java, C++, Objective-C, Python, PHP and Erlang.

matcher - Simple wildcard matching

  •    Javascript

Useful when you want to accept loose string input and regexes/globs are too convoluted.Accepts an array of input's and pattern's.

patterns - Match a string against a list of patterns

  •    Javascript

Match a string against a list of patterns.The name of this module was previosuly match-patterns, but Pavel Lang have been generous to give me the patterns name on NPM. If you are looking for the previous module it have been renamed design-patterns.

multimatch - Extends minimatch.match() with support for multiple patterns

  •    Javascript

See the tests for more usage examples and expected matches.Same as minimatch.match() except for pattern also accepting an array.

jest-tobetype - A jest matcher that allows you to test the expected type of a value

  •    Javascript

A Jest matcher that allows you to test the expected type of a value. It's not hard to write this boilerplate, but it is annoying. Strangely Jest specifically doesn't include any easy shorthand for this.

feather-route-matcher - featherweight url to handler matching

  •    Javascript

This tiny module exports a single function that takes an object of url patterns and returns a function that can be called to get the matching object, based on the url. This is in support of experiments I'm doing for building lightweight clientside apps here.

patrun - A fast pattern matcher on JavaScript object properties.

  •    Javascript

It's basically query-by-example for property sets. This module is used by the Seneca framework to pattern match actions.

filter-object - Return a copy of an object, filtered to have only keys that match the given glob patterns

  •    Javascript

Filter an object by its keys or values. Returns a copy of an object filtered to have only keys or values that match the given glob patterns. See glob-object and/or filter-values for the full range of options and available features.

jasmine-collection-matchers - Set of matchers for Jasmine for arrays

  •    Javascript

It can be hard to notice that fifth element is wrong. This module adds new matchers specially for collections that will print more detailed error messages about the values differences. Validates that passed arrays or objects are identical. If not, prints the difference.

pamatcher - A pattern matching library for JavaScript iterators

  •    LiveScript

A pattern matching library for JavaScript iterators. pamatcher is a JavaScript library that generalizes the notion of regular expressions to any sequence of items of any type. Instead strings, you can use any iterable or iterator as input. Instead of characters you can use any predicate as item matcher. So you can do pattern matching in a general and declarative way.

We have large collection of open source products. Follow the tags from Tag Cloud >>

Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.