method

header

header()
public

Header messsage for reporting this failure, including the name of the example and an indicator of the type of failure. FAILED indicates a failed expectation. FIXED indicates a pending example that passes, and no longer needs to be pending. RuntimeError indicates that a RuntimeError occured.

Examples

  'A new account should have a zero balance' FAILED
  'A new account should have a zero balance' FIXED
  RuntimeError in 'A new account should have a zero balance'