Assignment – Testing

Find out the key data / params of the following, write & execute them in your local.

Note: All the test cases should pass successfully. Each test case should have at least 2 assertions or checks

  • CPT Posts assigned to a certain Taxonomy term – Create Posts, Taxonomy terms using Factory. Assign these Posts to taxonomies. Fetch Posts based on Tax Query and check for results.
  • Custom Widgets
  • Gutenberg Blocks

Optional:

  • Custom User Roles