Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Research production level Sessions #59

Open
93 tasks
chasestarr opened this issue Oct 30, 2016 · 0 comments
Open
93 tasks

Research production level Sessions #59

chasestarr opened this issue Oct 30, 2016 · 0 comments

Comments

@chasestarr
Copy link
Member

chasestarr commented Oct 30, 2016

Going through and outlining tests that we should be shooting for. Will be kind of a long list, but we can pick and choose which ones are most important.

Server

  • routes.js
    • root
    • addUser
    • getUser
    • getSubscriptions
    • addSubscription
    • removeSubscription
    • getEpisodes
    • login
    • logout
    • getAudio
    • topPodcasts
  • requestPodcastData.js
    • itunesLookup
    • requestRss
    • feedGenerator
    • getTopPodcasts

Database

  • config.js
    • Test if opening connection to DB
  • controllers/user.js
    • findOne
    • addOne
    • removeOne
    • addSubscription
    • removeSubscription

React

  • Main.jsx
    • should be a stateful class component
    • should render a single NavView component
    • should render a single UserView component if state.searching === false
    • should render a single FeedView component if state.searching === false
    • should render a single PlayerView component if state.searching === false
    • should render a single SearchResultsView component when user types into search bar
    • should render a single LoginView component if user not logged in
    • should call subscribe() when user clicks on a subscribe button in SearchResultsItemView
    • should call unsubscribe() when user clicks on an unsubscribe button in SubscribedChannelItemView
    • should update the audio player when a FeedItemView is clicked
    • should call refreshSubscriptions() when app is initialized
    • should render a single UserView component if state.searching === true
  • NavView.jsx
    • should be a stateless functional component
    • should render a single SearchView component
  • SearchView.jsx
    • should be a stateful class component
    • should update searchResults when typing into the input box
  • UserView.jsx
    • should be a stateless functional component
    • should render a single SubscribedChannelView component
  • SubscribedChannelView.jsx
    • should be a stateful class component
    • should call requestPodcastData() when component is initialized
    • should render one SubscribedChannelItemView when given one channel
    • should render three SubscribedChannelItemView when given three channels
    • should render five SubscribedChannelItemView when given five channels
  • SubscribedChannelItemView.jsx
    • should be a stateful class component
    • should dynamically render a channel's image
    • should dynamically render a channel's title
  • FeedView.jsx
    • should be a stateful class component
    • should call requestPodcastData() when app is initialized
    • should render one FeedItemView when given one channel
    • should render three FeedItemView when given three channels
    • should render five FeedItemView when given five channels
  • FeedItemView.jsx
    • should be a stateful class component
    • should dynamically render an episode's title
    • should dynamically render an episode's description
    • should dynamically render an episode's duration
    • should dynamically render an episode's image
  • PlayerView.jsx
    • should be a stateless functional component
    • should render a single Waveform component
  • Waveform.jsx
    • should be a stateful class component
  • SearchResultsView.jsx
    • should be a stateful class component
    • should render one SearchResultsItemView when given one channel
    • should render three SearchResultsItemView when given three channels
    • should render five SearchResultsItemView when given five channels
  • SearchResultsItemView.jsx
    • should be a stateful class component
    • should dynamically render a channel's image
    • should dynamically render a channel's title
  • LoginView.jsx
    • should be a stateful class component
    • should call getTopPodcasts() when component is initialized
    • should render one LoginItemView when given one channel
    • should render three LoginItemView when given three channels
    • should render five LoginItemView when given five channels
  • LoginItemView.jsx
    • should be a stateful class component
    • should dynamically render a channel's image
    • should dynamically render a channel's title
@willsimmons willsimmons changed the title Tests Research production level Sessions Mar 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant