How I can unit-test APIs? Is there any method for asserting API response in drupal 7?

1 Answer 1


You can find an example in the Examples for Developers module. Here are two excellent guides:

  • How i can access my api from Simpletest? Jan 10, 2017 at 6:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.