Git Product home page Git Product logo

nanodegree-feedreader's Introduction

Front-end Nanodegree Project - 6 from Udacity

Feedreader Testing

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.

View a live version here (make sure to load unsafe scripts).

How to run

Clone or download the .zip repo to your desktop and run index.html.

  • Scroll to the bottom of the page and look for specs bar. It should be green and say "5 specs, 0 failures". passing test

  • If there are any failures there will be a red bar and it will say how many failures have occurred.

  • If there are any failures read the error below the test suite to see what’s causing it failing test

Tests

The tests that are ran against index.html are in the feedreader.js file located in \jasmine\spec\ folder.

  • The allFeeds variable isn't empty and is defined.
  • The menu element is hidden by default and will change when clicked.
  • The loadFeed function is called and completes its work properly.
  • The loadFeed function loads new content.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.