concept isolation in category angular

appears as: isolation
Angular in Action

This is an excerpt from Manning's book Angular in Action.

  • JavaScript modules (encapsulation, isolation, reusability)
  • When developers talk about testing, they often mean unit tests. If you aren’t familiar with unit tests, these are ways of testing individual pieces (units) of your application in isolation. For example, we’ll test a single component without being rendered in the entire app and a pipe without being used in a template. If we compare unit tests to making a car, it would be analogous to testing each part, such as the wheel, electronics, engine, and so on, on its own, before it’s assembled as a whole car. This is the first type of testing we’ll look at in detail.