grappa icon indicating copy to clipboard operation
grappa copied to clipboard

Assertion operators

Open h2non opened this issue 8 years ago • 0 comments

  • [x] equal
  • [ ] deep.equal
  • [x] strict.equal
  • [x] be
  • [x] be.true
  • [x] be.false
  • [x] be.none
  • [x] be.a / be.an / be.type
  • [x] be.empty
  • [x] be_above
  • [x] be.below
  • [x] be.above_or_equal
  • [x] be.below_or_equal
  • [x] be.within
  • [ ] approximately
  • [x] be.callable
  • [x] have.len / have.length
  • [x] have.property
  • [x] have.properties
  • [x] have.key
  • [x] have.keys
  • [ ] have.value
  • [ ] have.values
  • [x] contain
  • [ ] contain.exactly
  • [ ] contain.only
  • [ ] contain.deep
  • [x] startswith / start_with / starts_with
  • [x] endswith / end_with / ends_with
  • [x] match / matches
  • [ ] match.each
  • [ ] match.any
  • [x] raise_error / raises
  • [x] implements / satisfies
  • [ ] first
  • [ ] last
  • [ ] head(size)
  • [ ] tail(size)

h2non avatar Feb 19 '17 12:02 h2non