Skip to content

Document shared specs #575

Closed
Closed

Description

@eregon

Shared specs are a key tool to avoid duplication in ruby/spec.
But they are a bit tricky to use.
They should be documented in CONTRIBUTING.md.

Activity

  1. cadwallion commented on Dec 31, 2017

    @cadwallion
    Contributor

    I've started in on documentation for shared specs, but due to their complexity it's getting a bit long. I'm wondering if perhaps instead of having everything in CONTRIBUTING.md, it may make sense to move the Guards and Shared Specs into separate docs and link them in the CONTRIBUTING.md . They could either live in a docs/ directory or in the Wiki itself.

    I'm happy to keep it all in CONTRIBUTING.md or handle splitting it out, just let me know so I can PR appropriately.

  2. eregon commented on Dec 31, 2017

    @eregon
    MemberAuthor

    For convenience, I think it's better to use a file in the repo than the Wiki.

    I think CONTRIBUTING.md would be the most obvious place to look for this.
    Maybe we can refine based on the PR, but I think it would be best to have the most important documentation to write specs in one place.

  3. eregon commented on Jan 10, 2018

    @eregon
    MemberAuthor

    @cadwallion Could you show me what you have currently? 😃

  4. cadwallion commented on Jan 10, 2018

    @cadwallion
    Contributor

    Woops, that'd be helpful if I actually submit what I wrote. :) . #582 added.

  5. eregon commented on Jan 13, 2018

    @eregon
    MemberAuthor

    Fixed by #582, thanks @cadwallion!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions