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


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

|improve this answer|||||
  • How i can access my api from Simpletest? – Unnikrishnan Jan 10 '17 at 6:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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