Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 577 Bytes

File metadata and controls

29 lines (18 loc) · 577 Bytes

Get single resource

Description

Tests for user and product endpoints. In general tests include couple cases:

  • user's credentials should match expected credentials, if provided id is correct.
  • should prompt an error, if resource with provided id doesn't exists.
  • should prompt an error, if provided id is not a number value.

Table of contents

Tests

Table below shows testing resources.

Resources
user
product

Code

Feel free to check tests implementation!

Tests