Skip to content

1.0 Discussion #288

Closed
Closed
@davedevelopment

Description

@davedevelopment

Just creating this as a place holder for discussions pertaining to a 1.0, will formalise something eventually.

Things I've been thinking about:

  • Spies
  • Docs
  • API
    • Whole public API needs examining and finalising
  • Stubs vs Mocks behaviours
    • IMO stubs should always be byDefault, i.e. you can override them
    • I would love to break the API completely, so that shouldReceive defaults to once, rather than zeroOrMoreTimes, along with a stub method, as I think the language is in conflict, but I think that's probably too much of a BC break.
  • Issues
    • We need to fix and/or close issues as necessary
  • User Feedback
    • Need to speak to user base to see what we're missing
  • API Verifying mocks
    • Above and beyond allowMockingNonExistentMethods
    • Checks against method signature (for primitives and arg count etc)
    • Checks against docblock return type
    • Could be (configurably) silent when class/interface doesn't exist
    • Could be (configurably) silent when method doesn't exist

Newly added:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions