Skip to content

Need an equivalent of and for multiple assertions on a chained property #117

@robfletcher

Description

@robfletcher

If you want to group assertions on a chained subject the only choice is to use and but it's not very grammatical:

expectThat(foo).get { bar } and {
  get { baz }.isEqualTo("fnord")
  get { qux }.isEqualTo("fnord")
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions