Setting up the Angular project

In previous chapters, we discussed in detail how a project should be set up, looked at the different components involved, and walked through the entire process of testing. We will skip these details and provide a list in the following section for the initial actions to get the project set up and ready with a test configuration for unit and end-to-end testing.

Loading an existing project

We will get a simple Angular project from the Angular team's examples and modify it for our implementation.

We will clone the quickstart project from the Angular GitHub repo and start with that one. We should have Git installed globally besides node/npm.

$ git clone https://github.com/angular/quickstart.git 
    angular-project

This will ...

Get Angular Test-Driven Development - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.