• Home
  • Blog
  • Add function to code in Java and testing

Add function to code in Java and testing

0 comments

Here is a brief outline of the task:

The application is a toy ‘Hotel’ application. It supports 4 use cases: Make Booking, Check In, Record Service, and Check Out.

You are provided partial implementations of the control classes and entities required for the application. These are in the Asg3 Resources Zip file in the resources section. That zip file also contains a software specification, and sequence diagrams that illustrate the different use cases.

student is required to complete the implementation for 1 entity and 1 control class. There are 3-4 methods to be implemented in each entity, and 1 method to be implemented in each control class.

Here are the entities, control class and methods to be implemented in a suggested work load split:

Student2

Booking

checkin()

addServiceCharge()

checkout()

CheckinCTL

RecordService

CTL ()

checkInConfirmed()serviceDetailsEntered

Please Note: the original concept for the assignment was the complete implementation.

The levels of testing required are as follows:

  • Low level unit testing for the entity methods that you implement (this may require use of test substitutes)
  • Low level integration testing of entity-entity interactions
  • High level integration testing of the system operation (CTL class method) that you implement
  • ‘Scenario’ level testing of the use case that your system operation supports
  • ‘Alpha’ stage User Acceptance Testing equivalent to your scenario testing.

About the Author

Follow me


{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}