You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
requestPodcastData.js
Database
config.js
controllers/user.js
React
Main.jsx
subscribe()
when user clicks on a subscribe button in SearchResultsItemViewunsubscribe()
when user clicks on an unsubscribe button in SubscribedChannelItemViewrefreshSubscriptions()
when app is initializedNavView.jsx
SearchView.jsx
UserView.jsx
SubscribedChannelView.jsx
requestPodcastData()
when component is initializedSubscribedChannelItemView
when given one channelSubscribedChannelItemView
when given three channelsSubscribedChannelItemView
when given five channelsSubscribedChannelItemView.jsx
FeedView.jsx
requestPodcastData()
when app is initializedFeedItemView
when given one channelFeedItemView
when given three channelsFeedItemView
when given five channelsFeedItemView.jsx
PlayerView.jsx
Waveform.jsx
SearchResultsView.jsx
SearchResultsItemView
when given one channelSearchResultsItemView
when given three channelsSearchResultsItemView
when given five channelsSearchResultsItemView.jsx
LoginView.jsx
getTopPodcasts()
when component is initializedLoginItemView
when given one channelLoginItemView
when given three channelsLoginItemView
when given five channelsLoginItemView.jsx
The text was updated successfully, but these errors were encountered: