Assignment 6: Test Driven Development


Rate this product

Assignment 6: Test Driven Development
DES (LEC A1 Fa18)
Assignment 6: Test Driven Development
·Source code: TDD. · A working copy of your solution must be
submitted to eClass before this date.
This assignment will provide you with a comprehensive set of test cases; similar to those provided in
the assignment 4. This set of test cases outlines the beginning of a “Musical Jukebox” program. The
test cases provided in the assignment specify two classes Song and Playlist . The Playlist class is implementing a generic playlist to improve its applicability in order to handle
any types of elements. Your assignment is to implement the functionality defined by the test cases
provided. This assignment will utilize a number of Java concepts, including polymorphism, generics
and method overriding or redefining. The assignment contains 19 test cases, divided over two
classes — SongTest and PlaylistTest . The class AllTests is a test suite that contains the
previous two test classes. These test cases are to be used to drive the development of the two
classes Song and Playlist . Finally, you will be asked to create two new test cases that would
provide a basis for two new methods inside of the Playlist class that would sort the playlist by
artist, and by title.
It is important to note that you only need to implement the functionality needed to PASS the test
cases. Remember to try and “keep it simple”!
Submission status
Attempt number This is attempt 1 ( 1 attempts allowed ).
Submission status Submitted for grading
1 of 4 2018-12-22, 9:20 p.m.
Grading status Graded
Due date Thursday, 8 November 2018, 5:00 PM
Time remaining Assignment was submitted 5 hours 36 mins early
Last modified Thursday, 8 November 2018, 11:23 AM
File submissions
Export to portfolio
Submission comments
Comments (0)
Edit submission
Make changes to your submission
Grade 20.00 / 20.00
Graded on Wednesday, 14 November 2018, 9:30 AM
Graded by Aindrila Ghosh
2 of 4 2018-12-22, 9:20 p.m.
3 of 4 2018-12-22, 9:20 p.m.
You are logged in as Arun Woosaree (Log out)
ECE 325 (LEC A1 Fa18)
4 of 4 2018-12-22, 9:20 p.m.

Open chat
Need help?
Can we help you?