tideland/golib

Add Assertion.WaitTested()

Closed this issue · 0 comments

  • Like Assertion.Wait()
  • Second argument is a function having and interface for the received data as argument and an error as return value
  • WaitTested() runs the function passing the retrieved data and tests the returned error for nil
  • Inside the function the user can add more assertions