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

What test framework did you use to test your nodejs applications

What is V8 Engine? What is the relationship between Node.js and V8?