Answered step by step
Verified Expert Solution
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 of Sept COMP Programming Part OODesign Week Lab 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 Labwzip containing the project files. Upload all the files zipped zip to the Learning Hub under Activities Assignments Labw Submit just Zip files, any other types of archives will be rejected. All submissions should be complete, should contain all files. Page of Sept 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 labBank 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 Coding standards are applied, including Java docs for classes and methods, submission as requested. Total
Page of Sept
COMP Programming Part OODesign
Week Lab 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 Labwzip containing the project files.
Upload all the files zipped zip to the Learning Hub under
Activities Assignments Labw
Submit just Zip files, any other types of archives will be rejected.
All submissions should be complete, should contain all files.
Page of Sept
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 labBank 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
Coding standards are applied, including Java docs for classes and methods, submission as requested.
Total
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started