Unlimited Plugins, WordPress themes, videos & courses! Unlimited asset downloads! From $16.50/m
Lessons:25Length:2.9 hours
  • Overview
  • Transcript

7.1 Conclusion

This video suggests numerous projects you can undertake to further your understanding of Angular test-driven development using the app you have built. If you want to practice some of the ideas that you learned in this course, try completing the Open Assignment!

From everyone here at Tuts+, I want to congratulate you on completing this course.

Keep on coding!

Related Links

7.1 Conclusion

Hi. I am Daniel for Touchplus. In this video we're going to review what we've learned and also discuss the open assignment that accompanies this course. So, what have we learned? Well, hopefully we've learned that tests are powerful. They leverage the processing power of computers so that we can test thousands of things every minute. This is what makes tests very cool. We learned all about the technologies Karma, Protractor, and Mocha and we combined those using gulps to make a variety of different angular tests. Finally, we've learned about the measurement of code coverage and we implemented Istanbul to test that. Now, you'll notice that, while the finished app was fully functional and fully styled, we did not write all the tests. In the original development of this app, I spent many, many hours devising all the possible tests to make it very strong. So naturally, I couldn't go over every single one, in this short core series. So for the open assignment, I challenge you to add validation to your app. You'll notice that we could add any contact whatsoever to the list. If the contact was already on the list, no problem. The contact would be duplicated. So what you need to do, is make sure that only valid contacts get added to the list. And, then to make sure that your validation works, you must write tests for your validation. On the branch master, this has already been completed. But I encourage you to give it your best shot before looking for any clues or hints from the master branch. Another very interesting but complex field, which we could not cover in this video, is testing our Node Express server backend. We wrote a very simple backend and we wrote no tests for it, but for a more complicated backend tests are absolutely key. There are more sophisticated tools you can use for back end testing, such as SuperTest, but the Mocha tool we already used would work fine. Therefore, it's your challenge to add tests from Mocha in Express. Keep in mind this isn't Angular TDD it's more like Mocha Express TDD so you're not strictly required to do this to fully understand this course. However I encourage you to do so because it's a very useful skill. Next, I encourage you to augment your Protractor functionality. Right now we're only testing in Chrome, but we could test at least in Chrome, Safari and PhantomJS. So augment your Protractor to test additional browsers, at least Safari. [SOUND] Finally be sure to visit Github and follow Angular and karma. And yes, here I am on Github on the Karma page on github.com/karma-runner/karma and I'm just going to go ahead and star this repository. I'm also going to watch it. I recommend that you star the repository, but careful about watching it because you're going to receive a ton of e-mails for such an active repo. You'll be informed of every possible change. However, starring it is harmless and lets the developers know you support and are interested in their application. Well it has been an absolutely outstanding course. We've learned so much and I would like to personally congratulate you for sticking with it and following the course to the very end. I'm Daniel Stern. Have a super day.

Back to the top