Archive for August 14th, 2008

Functional Tests

Thursday, August 14th, 2008

Here’s the first few functional tests that I’ve based off of the usecases for the new link aggregation website.

Index Page

When an anonymous user visits the main page, the user should see:

  • A Submit Link hyperlink.
  • A tag cloud.
  • A list of the top links from the past week. Each item in the list should have:
    • A hyperlinked title
    • A short description
    • A link to the user profile that submitted the link.
  • Links labeled month, day, year, all time. and a ghosted link labeled week in the upper corner of the list of links.
  • A login/create account link

When a known user visits the main page, the user should see:

  • Everything an anonymous user sees except that the links day, week, month, year, all time should be ghosted based on which date range the user had selected previously
  • A settings link.