0 votes
in Mean Stack by
What's a test pyramid? By what method may you complete it while talking about HTTP APIs?

1 Answer

0 votes
by

A test pyramid depicts that when works test cases there should be essentially more low-level unit tests than strange state end-to-end tests.

While talking about HTTP APIs, it may come down to this:

  1. A lot of low-level unit tests for your models
  2. Less joining tests, where your test how your models team up with each other
  3. Essentially fewer affirmation tests, where you test the certifiable HTTP endpoints
...