CIS 339 help Making Decisions/uophelp.com CIS 339 help Making Decisions/uophelp.com | Page 10
Code that implements the Get Course by Course ID () method Code that implements a
unit test for that method alone (outside of any other application code)
This way you can demonstrate the method implementation and also verify its correct
behavior.
You are under a deadline constraint for this deliverable, so you asked some of your peer
architects for help. They each are well versed in different OO languages like VB.NET,
C#, and Java and they all have done unit testing before so they are familiar of how to
construct one.
Your peer architects provided you with partially-completed shells for your
demonstration. Each shell contains:
Complete code for the Course class; partially completed code for Course List class; and
complete code for the Course List Test class that unit tests the Course List. Get Course by
Course ID () method.
Your task is now easy. Just select one of these shells and complete the code for the
partially completed Course List by coding it Get Course By Course ID() method. When
you compile and run the shell, it will automatically test your Get Course by Course ID ()
code to ensure its correct behavior.
Deliverables One Word file that contains the following. A copy of the code you wrote for
the Get Course By Course ID method() of the Course List class in your favorite OO
programming language A screen shot of the output of running the provided unit test in
the shell (the Course List Test class) showing that your code works as expected. Note that
these unit tests only print out messages of testing problems. If your code is correct, the
unit tests will succeed silently without any success messages. An explanation of your
work and the decisions you made to arrive at your proposed code a zip file of the
completed shell after you added your code so that the shell could be executed on a
different machine i L A B S T E P S
STEP 1: Review the Method Contract, Method Specification for the Get CD by CD ID ()
Method, and Coding & Unit Testing Get CD by CD ID () Method using Java (not
Graded)
Download the Method Contract for Get CD by CD ID () Method and review it prior to
reviewing this week’s video tutorial. Download the Method Specification for the Get CD
by CD ID () Method and review it prior to reviewing this week’s video tutorial
STEP 2: Code & Unit Test the Get Course by Course ID () method of the Course List
class
Decide on your OO programming language that you will use for this lab and then
download
the
corresponding
shell
from
the
following.
Visual Basic Shell C# Shell Java Shell
Both the Visual Basic and C# shells are Visual Studio projects while the Java shell
include only the *.java source files that could be loaded into any Java IDE.
Code and unit test the CourseList.GetCourseByCourseID() method in your favorite
programming language. You only need to add code for the GetCourseByCourseID()
method and then run the application (the unit test will automatically test your code), then
print
out
problem
messages,
if
any