Database System Concepts
Database System Concepts
7th Edition
ISBN: 9780078022159
Author: Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher: McGraw-Hill Education
Bartleby Related Questions Icon

Related questions

Question

The class diagram below denotes a management system. Based on the class diagram below, prepare a testing strategy that explains how unit, integration, acceptance, and end-to-end tests will be implemented for the system.

Note - Don't write definitions for the different testing types and what they mean, rather apply your knowledge of the different testing types and propose a testing strategy. 

A testing strategy is just a writing that proposes what needs to be tested and how the testing for the system will proceed. You don't need to generate a test or test cases

The diagram illustrates the class architecture of a parking management system, featuring key components and their interactions.

### Class Definitions:

1. **ParkingOffice:**
   - **Attributes:**
     - `parkingOfficeName: String`
     - `listOfCustomers: List<Customer>`
     - `listOfParkingLots: List<ParkingLot>`
     - `parkingOfficeAddress: Address`
   - **Operations:**
     - `getParkingOfficeName(): String`
     - `register(Customer): void`
     - `register(Car): ParkingPermit`
     - `park(Date, ParkingPermit, ParkingLot): ParkingTransaction`
     - `getParkingCharges(ParkingPermit): Money`
     - `getParkingCharges(Customer): Money`

2. **ParkingLot:**
   - **Attributes:**
     - `id: String`
     - `name: String`
     - `address: Address`
   - **Operations:**
     - `getDailyRate(CarType): Money`

3. **Customer:**
   - **Attributes:**
     - `id: String`
     - `firstName: String`
     - `lastName: String`
     - `phoneNumber: String`
     - `address: Address`
   - **Operations:**
     - `getCustomerName(): String`

4. **Car:**
   - **Attributes:**
     - `type: CarType`
     - `licensePlate: String`
     - `owner: Customer`
   - **Operations:**
     - `getType(): CarType`
     - `getLicensePlate(): String`
     - `getOwner(): Customer`

5. **ParkingPermit:**
   - **Attributes:**
     - `id: String`
     - `car: Car`
     - `expiration: Date`
   - **Operations:**
     - `getCar(): Car`

6. **ParkingTransaction:**
   - **Attributes:**
     - `date: Date`
     - `permit: ParkingPermit`
     - `parkingLot: ParkingLot`
     - `chargedAmount: Money`
   - **Operations:**
     - `getChargedAmount(): Money`
     - `getPermit(): ParkingPermit`

7. **PermitManager:**
   - **Attributes:**
     - `permits: List<ParkingPermit>`
   - **Operations:**
     - `register(Car): ParkingPermit`

8. **TransactionManager:**
   - **Attributes:**
expand button
Transcribed Image Text:The diagram illustrates the class architecture of a parking management system, featuring key components and their interactions. ### Class Definitions: 1. **ParkingOffice:** - **Attributes:** - `parkingOfficeName: String` - `listOfCustomers: List<Customer>` - `listOfParkingLots: List<ParkingLot>` - `parkingOfficeAddress: Address` - **Operations:** - `getParkingOfficeName(): String` - `register(Customer): void` - `register(Car): ParkingPermit` - `park(Date, ParkingPermit, ParkingLot): ParkingTransaction` - `getParkingCharges(ParkingPermit): Money` - `getParkingCharges(Customer): Money` 2. **ParkingLot:** - **Attributes:** - `id: String` - `name: String` - `address: Address` - **Operations:** - `getDailyRate(CarType): Money` 3. **Customer:** - **Attributes:** - `id: String` - `firstName: String` - `lastName: String` - `phoneNumber: String` - `address: Address` - **Operations:** - `getCustomerName(): String` 4. **Car:** - **Attributes:** - `type: CarType` - `licensePlate: String` - `owner: Customer` - **Operations:** - `getType(): CarType` - `getLicensePlate(): String` - `getOwner(): Customer` 5. **ParkingPermit:** - **Attributes:** - `id: String` - `car: Car` - `expiration: Date` - **Operations:** - `getCar(): Car` 6. **ParkingTransaction:** - **Attributes:** - `date: Date` - `permit: ParkingPermit` - `parkingLot: ParkingLot` - `chargedAmount: Money` - **Operations:** - `getChargedAmount(): Money` - `getPermit(): ParkingPermit` 7. **PermitManager:** - **Attributes:** - `permits: List<ParkingPermit>` - **Operations:** - `register(Car): ParkingPermit` 8. **TransactionManager:** - **Attributes:**
Expert Solution
Check Mark
Step 1

Answer - Integration Testing

Knowledge Booster
Background pattern image
Similar questions
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education