In this project Udacity provided me a web-based application that reads RSS feeds. The original developer of this application clearly saw the value in testing, they've already included Jasmine and even started writing their first test suite! Unfortunately, they decided to move on to start their own company and we're now left with an application with an incomplete test suite. That's where me come in. I have to write the additional tests using Jasmine if the Javascript is working properly!
Download the Repository or from here.
Then open the index.html file in a browser
Click this link to see the Tests live!
Implemented Tests for
-
allfeeds
feeds has been defined and they are not empty -
allfeeds
have a url and it is not empty -
allfeeds
has a name and it is not empty -
Searches for the class of
menu-hidden
in the body tag and checks the default menu is hidden -
Toggles the menu when the menu appears or disappears
-
Tests if the asynchronous loadFeed function has at least a single
.entry
within the.feed
container -
Tests to see if two Feed entries are different
Excercise location: Udacity FeedReader Github repo
MIT License The MIT License (MIT)
Copyright (c) 2018 Verena Carpella / VerenaEna
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.