Building on the initial foundational aspects, you will expand to include testing for multiple controllers, partial views, location references, CSS, and the HTML element. In addition, you will explore using a headless browser with Karma. You will also configure Karma file watching to automate testing and tackle components of AngularJS (controller, service, model, and broadcasting) using TDD. At the end of this book, you will extend explore how to pull data using an external API, setting up and configuring Protractor to use a standalone Selenium server, and setting up Travis CI and Karma to test your application.
This book is a complete guide to testing techniques using Karma for unit testing and performing end-to-end testing with Protractor.
Comments about oreilly AngularJS Test-driven Development:
I had a much longer review typed, but I scrapped it.
Full disclosure: I have not read through or worked through the entire book (see below...)
The problems with this book are twofold: 1) glaring code errors resulting in code that will not run without multiple layers of fixes, and 2) the author leaves out key details (like instruction steps, filenames, directory structures, etc.).
If you want a book that will tell you how to set up Karma, Angular, and Protractor, then this is nearly your book (although the author pretty much says "just look it up" in his instructions).
If you want a book that you can learn from with well-formed examples and real-world testing wisdom, look elsewhere.
Bottom Line No, I would not recommend this to a friend