Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • All HTTP response codes (2XX, 3XX, 4XX, 5XX)
  • Structure of your data (e.g. the response needs to match an array, that consists of separate values)
  • Content of your data (e.g. the separate values are typed as String, it should be at least five of them, these strings are not empty and match you're previously inserted data)
  • Always test as open minded (e.g. use object.contains(name) instead of object === {name: "..."}) → this allows non-breaking extensions

For examples, see the integration tests at the user-service .

What if a test fails to execute? 

...