Skip to content

TODOs #1

@pfichtner

Description

@pfichtner
  • support stringMatcher(regex) (w/o value, will add $generator to contract)
  • support constructors (mainly for records) -> Would need class transformation (remove final modifier) like InlineMockMaker/InlineByteBuddyMockMaker
  • ordered/unordered arrays
  • multi-example calls (stringType("name, "example1", "example2"))
  • Support two modes strict and lenient. Without further invocations: strict -> setFoo(2) must match value, lenient -> setFoo(2) must match type only
  • Support DTOs with public fields (no getters/setters)
  • Support for like ("like" seems to be a lenient mode DTO so first to strict/lenient)
  • array
  • arrayContaining
  • unorderedArray, unorderedMinArray, unorderedMaxArray, unorderedMinMaxArray
  • eachLike, minArrayLike, maxArrayLike, minMaxArrayLike
  • eachArrayLike, eachArrayWithMinLike, eachArrayWithMaxLike, eachArrayWithMinMaxLike
  • eachKeyMappedToAnArrayLike
  • eachKeyLike
  • eachKeyMatching
  • eachValueLike
  • eachValueMatching
  • V3 and V4 PactoDslBuilders (V4 has more options for "or")
  • Support for and/or

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