Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
AngularJS Testing Cookbook Paperback – March 30, 2015
|New from||Used from|
See the Best Books of 2018 So Far
Looking for something great to read? Browse our editors' picks for the best books of the year so far in fiction, nonfiction, mysteries, children's books, and much more.
Frequently bought together
Customers who viewed this item also viewed
About the Author
If you buy a new print edition of this book (or purchased one in the past), you can buy the Kindle edition for only $2.99 (Save 80%). Print edition purchase must be sold by Amazon. Learn more.
For thousands of qualifying books, your past, present, and future print-edition purchases now lets you buy the Kindle edition for $2.99 or less. (Textbooks available for $9.99 or less.)
Top customer reviews
There was a problem filtering reviews right now. Please try again later.
The first couple chapters serve as a great introduction to testing tools and how to work them into your current setup. I appreciated that he took the time to walk through configuring protractor to run with both grunt and gulp, which can be a bit of a nightmare to get right so that it runs correctly and runs for everyone on your team that wants to verify code coverage. It's definitely worth your while too, to check out many of the links he provides on tools like Brunch and Angular Debaser, as they can potentially be great add-ons.
I would have liked to have seen some discussion on organization of test suites and centralizing mock objects for large scale applications, as tests can become horribly disorganized and messy as the project grows. Also, sinon could have used a bit of discussion too, as some shops are making use of it due to its unique features; still many things that Jasmine doesn't yet do as well as it does. Aside from that I think this was an extremely thorough study of Angular testing that's full of great recipes.
The book is very well structured and every recipe has a clear focus and is self-contained. Let me self-contained, here I mean every recipe has its own introduction (setup), step-by-step example, explanation (how it works) and further reference. That is why you can easily jump between different recipes.
For beginners who want to automate test running with a task runner like grunt or gulp the book covers the very basics of doing so as well. This is useful for a first start, but if you really want to automate tests further, I recommend reading a book or searching the Internet for more details specific to your favorite test runner.
I can recommend this book to every AngularJS developer, whether you are new to testing or already a seasoned developer.