Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Page 1 of 2 Sept 2 0 2 3 COMP 2 6 0 1 Programming Part 3 ( OODesign ) Week 0 7 Lab (

Page 1 of 2 Sept 2023
COMP 2601 Programming Part 3(OODesign)
Week 07 Lab (10 p)
Goals
Practice Unit Testing
All class files should have the Java doc at the top, including your student name.
Name student number
Submission:
ZIP file Labw7.zip containing the project files.
Upload all the files zipped (.zip) to the Learning Hub under
Activities -> Assignments -> Labw7
Submit just Zip files, any other types of archives will be rejected.
All submissions should be complete, should contain all files.
Page 2 of 2 Sept 2023
Please complete the following:
Simulating a common scenario you have been given a JAR file containing the binaries for three data classes, Customer, Account, and Bank. Your task will be to develop test classes for each. NOTE: you have not been given the source code, but instead the API docs, which are all youll need to do the testing. You will not be debugging nor fixing the code, only testing the code. Your test should discover some bugs within the classes youve been given. For example, Strings should not be null or blank, numbers should not be negative, etc.
The 2601_lab7_Bank starter project has been provided with test classes already stubbed out. Also included are the Javadoc generated html files in the docs folder. Use these to determine what the classes are supposed to do.
You will submit the project, along with your completed test classes when completed and before the next lesson.
Marks
All unit tests are implemented
8
Coding standards are applied, including Java docs for classes and methods, submission as requested.
2
Total
10

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

OCA Oracle Database SQL Exam Guide Exam 1Z0-071

Authors: Steve O'Hearn

1st Edition

1259585492, 978-1259585494

More Books

Students also viewed these Databases questions

Question

describe and present a summary of data you have collected.

Answered: 1 week ago

Question

collect, organise and store quantitative data in an effective way;

Answered: 1 week ago