Skip to content
This repository was archived by the owner on Nov 1, 2023. It is now read-only.
This repository was archived by the owner on Nov 1, 2023. It is now read-only.

Assertion descriptions #18

@elmundio87

Description

@elmundio87

To help speed up fixing of terraform configurations that fail tests, I propose that all methods that raise AssertionErrors should have an optional parameter where you can put a description of the test.

eg.

validator.resources('foo').property('bar').should_match_regex('^([a-z0-9]|\_)*$', 'All characters should be lowercase or an underscore')

Particularly for those that don't speak regex as a first language!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions