Skip to content

Composition of validators #13

@cyli

Description

@cyli

I was going to write some composition validators, like all (all the given validators have to match), but the more I thought about it the more I basically want all the compositional elements in http://testtools.readthedocs.org/en/latest/for-test-authors.html#matchers.

I was wondering how you felt about adding a validator that took said matchers? It would make it really easy for users to do custom validation, and testtool.matchers has pretty nice error reporting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions