Drupal 8 : Test Cases - Rest API

Session Track
Code & development
Skill level
Intermediate
Co-presenter

We will cover the following topic in the session:

  • How to Expose an API using REST API.
  • How to extend Restui module features
  • Required Drupal 8 module to run Test Cases
  • How to write Unit Test Case
  • How to Write API Functional Test Cases
  • The advantage of writing API Test Cases

Key takeaways

  • Write stable and reliable Rest APIs
  • Automated testing for Rest API
  • Ability to understand headless application architecture
  • Best practices of building custom and contrib module using web services and REST API.
  • Reduce the risk of failure by using proper test cases.
  • Testing changes your perspective on how you code.
  • Creating a custom rest resource.