O'Reilly logo

Angular Test-Driven Development - Second Edition by Md. Ziaul Haq

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required