Skip to content

phase2 demo

Pedro Felix edited this page Apr 29, 2016 · 1 revision
  1. Clone the group repo to a new folder.
  2. Checkout the phase 2 tag.
  3. Use gradle to clean the project.
  4. Build project and run tests with gradle.
  5. Use gradle to clean the project.
  6. Run tests again.
  7. Run the application with the Nothing argument.
  8. Run OPTIONS command directly from the console (not from inside the application). Ensure the application ends after showing the available commands.
  9. List movies directly from the console. Ensure the application ends after showing an empty list.
  10. Start the application without any parameters and execute the following commands from inside the application.
  11. Add three movies to the catalog
  12. Try to add another without a releaseYear
  13. List all movies, for each one of the following options:
    • text/plain - output directly to the console.
    • text/html - output to a file.
    • without headers - Sorted descending by the date the movie was added to the catalog.
  14. Submit ratings for the first movie added:
    • rating 3 - 1 vote
    • rating 5 - 3 votes
    • try rating 7
  15. Show the rating average and the number of votes for each rating value of the previous movie
  16. Create two reviews for the second movie, with rating values 1 and 4
  17. List all reviews for the two movies using the text/html format and the a file output
  18. Show the details for the movie with the lower average rating
  19. List the 2 movies with higher review count
  20. List movies using the text/html format and paging parameters top=2 and skip=1
  21. List the movies using a page of length 2, going through all the pages, and using the following sort orders:
  • addedData - sorted by the date the movie was added to the catalog
  • yearDesc - sorted descending by the year the movie was released
  • title - sorted by the movie title.
  • ratingDesc - sorted descending by the movie rating.
  1. Create two collections
  2. Add two movies to the second collection
  3. List collections, using the text/plain format
  4. List the movies in the second collection, using the text/html format
  5. Remove one movie from the second collection
  6. List again the movies in the second collection, using the text/html format
  7. Exit the application.
Clone this wiki locally