See the app here - http://dinagr.github.io/frontend-nanodegree-feedreader/index.html
This app is an example of JS automatic tests.
At the moment all the tests have passed.
- JQuery
- Jasmine
- The app was developed by Udacity
- The tests for the app were developed by Dina Gringauz
10/10/2015
- A test that loops through each feed in the all Feeds object and ensures it has a URL defined.
- A test that loops through each feed in the all Feeds object and ensures it has a URL that is not empty.
- A test that loops through each feed in the all Feeds object and ensures it has a name defined and that the name is not empty.
- A test that ensures the menu element is hidden by default.
- A test that ensures the menu changes visibility when the menu icon is clicked.
- A test that ensures the menu changes visibility when the menu icon is clicked again.
- A test that ensures when the loadFeed function is called and completes its work, there is at least a single entry element within the feed container.
- A test that ensures when a new feed is loaded by the loadFeed function that the content actually changes.
- A test that checks if allFeeds variable is an of instance of Array
- A test that ensures if the feeds URLs are valid
- By clicking on one of the test - this specific test will be activated.
- By marking the flag next to 'raise exceptions' all the tests will be activated.
- In the green headline it will be specified how many test have failed.