# 09. Testing

## Authentication Testing

- Create a new user with username and password.
- Try to create another user with the same username.
- Login using valid credentials.
- Login using invalid credentials.
- Recover password and login with the new password.
- Logout and confirm protected pages are not accessible.

## Supplier Testing

- Insert a supplier with all required fields.
- Try to insert a supplier with missing fields.
- Try to insert duplicate supplierCode.
- Try to insert duplicate email.

## Shipment Testing

- Insert a shipment linked to an existing supplier.
- Display all shipments.
- Update shipment information.
- Delete a shipment.
- Confirm duplicate shipmentNumber is prevented.

## Delivery Testing

- Insert a delivery linked to an existing shipment.
- Display all deliveries.
- Update delivery information.
- Delete a delivery.
- Confirm duplicate deliveryCode is prevented.

## Report Testing

- Open Reports page.
- Select Daily Report.
- Select Weekly Report.
- Select Monthly Report.
- Change between Suppliers, Shipments, and Deliveries.
- Print report using the Print Report button.

