/Udacity-Feed-Reader-Testing-Project

Udacity Front-End Web Development Nanodegree Program testing with Jasmine project

Primary LanguageJavaScript

Tests which are Written

  • Tests for allfeeds are defined and not empty
  • Tests for allFeeds has a url which is not empty
  • Tests for allFeeds has a name which is not empty
  • Tests if there is a class of 'menu-hidden' in the body and checks that the menu is hidden
  • Tests if clicking the menu changes its appearance.
  • Tests if the loadFeed function has at least a single entry within the feed container
  • Tests the content actually changes

How to Run

Clone this github repository and run the index.html on your browser. Check the Jasmine tests.

Project Overview

In this project you are given 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 you come in.

Why this 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.

Whether you work in an organization that uses test-driven development or in an organization that uses tests to make sure future feature development doesn't break existing features, it's an important skill to have!