In project four of Udacity's Front-End Nanodegree, I will starting with files for a web-based application that accesses and reads RSS feeds. The project files include Jasmine (version 2.1.2) as a dependency for testing the feed reader's functionality. The objective for completing this project was to develop all tests needed for ensuring the web app meets its essential business logic requirements in addition to testing key interactions involving the DOM.
The following rationale for completing the project is referenced from Udacity's own guidelines introducing the project.
Testing is an important part of the development process and many organizations practice a standard of development known as "test-driven development". This is when developers write tests first, before they ever start developing their application. All the tests initially fail and then they start writing application code to make these tests pass.
You can run the Udaci Feed web app and the associated Jasmine tests by downloading or cloning the repository to your own device and then opening the project's index.html
file in a browser.
Udacity's rubric for completing this project can be accessed here.
- Google Fonts
- Google Hosted Library - jQuery (v2.1.1)
- Handlebars
- Jasmine version 2.1.2
-
Referenced means for simulating click event on page element from https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/click on August 11, 2018
-
Referenced means to create array from node list collection at https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/from on August 12, 2018
-
Reviewed means of iterating over array and applying callback function at https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/forEach on August 12, 2018
-
Reviewed and abstracted helper code from https://matthewcranford.com/feed-reader-walkthrough-part-4-async-tests/ on August 12, 2018