Skip to content

Minitest: is there a recommended way to use shoulda-matchers without using shoulda-context ? #1571

@lioneldebauge

Description

@lioneldebauge

Hello 👋

My team is looking into adding shoulda-matchers to our Minitest test suite. Is it possible to use shoulda-matchers without shoulda-context gem ? If so what is the recommended way ?

Documentation suggests it in "Getting Started" section below but all examples assume the usage of should method.

https://matchers.shoulda.io/docs/v5.3.0/#minitest

Thanks for any help that you would be willing to give us and for this very useful gem 🙏

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions