Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/abdullahmuhammed5/feed-reader-project

Testing javascript aplication that retrieve some feeds from Udacity apis - Jasmine
https://github.com/abdullahmuhammed5/feed-reader-project

feeds feeds-reader jasmine jasmine-tests javascript udacity udacity-frontend-nanodegree udacity-nanodegree

Last synced: about 1 month ago
JSON representation

Testing javascript aplication that retrieve some feeds from Udacity apis - Jasmine

Awesome Lists containing this project

README

        

# Project Overview

This is a project given to me by Udacity for my nanodegree course, the main task here is the i'll us Jasmine to test if the Javascript code is working properly.

Jasmine is a Behavior Driven Development testing framework for JavaScript. It does not rely on browsers, DOM, or any JavaScript framework. Thus it's suited for websites, Node.js projects, or anywhere that JavaScript can run.

## How to Run Appilcation

Download repositrory from here.
Then open the index.html file in a browser.

## Tests That Were Implemented

* Tests for allfeeds has been defined and that it is not empty
* Tests for allFeeds have a url and that the url is not empty
* Tests for allFeeds have a name and that the name is not empty
* Searches for the class of 'menu-hidden' in the body tag and checks that the menu is hidden
* Toggles on click event if the menu appears or disappears
* Tests if the loadFeed function has at least a single '.entry' within the '.feed' container
* Tests to see if two entries are not equal