Define the concept of the test pyramid. Explain the process to implement them in terms of HTTP APIs.

According to test pyramid you should have a higher number of low- as compared to high-level end-to-end tests that running through a GUI.

In terms of HTTP APIs it may be defined as:

  • A higher number of low-level unit tests for each model
  • Lesser integration tests to test model interactions
  • Lesser acceptance tests for testing actual HTTP endpoints

Comments

Popular posts from this blog

Which node logger did you use in your project?

What is a Callback function in Node.js?