concept system in category coffeescript

appears as: system, System
CoffeeScript in Action

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

CoffeeScript provides a class syntax that cleans up some of the awkwardness in JavaScript constructors and handles setting up links to prototype objects. If you were writing a system that was capturing the views for many different sites and wanted to define a class for views, it could be implemented as shown in the following listing.

When you write a test, the part of the program you’re testing is the system under test. Anything that you’re not testing but that the system under tests uses is a dependency.

Listing 10.5. System test for tracking application