Professional Documents
Culture Documents
Nikki Pyt
Nikki Pyt
Nikki Pyt
add_income(amount, description)
elif choice == "2":
amount = float(input("Enter the expense amount: "))
description = input("Enter a description: ")
budget_system.add_expense(amount, description)
elif choice == "3":
print(f"Current Balance: ${budget_system.get_balance()}")
elif choice == "4":
print("Transactions:")
budget_system.view_transactions()
elif choice == "5":
print("Exiting the budget management system.")
break
else:
print("Invalid choice. Please select a valid option.")
if __name__ == "__main__":
main()
13
OUTPUT
14
15
System testing
1. Functional Testing:
Transaction Entry: Test the ability to input different types of transactions (income,
expenses) and verify accurate data entry.
- Expense Categorization: Validate that expenses are correctly categorized based
on predefined rules or algorithms.
- Budget Creation: Confirm that users can create, modify, and delete budget
categories and amounts.
- Goal Setting: Test the process of setting financial goals and tracking progress
toward them.
- Automated Transaction Sync: Ensure that data is accurately synchronized from
external sources (e.g., bank accounts).
- Reporting: Verify the accuracy of generated reports, charts, and analytics.
2. User Interface Testing:
- Usability: Test the user interface for intuitive navigation, clear labels, and user-
friendly design.
- Responsive Design: Ensure the system functions well on different devices and
screen sizes.
3. Security Testing:
16
- Authentication:Test user registration, login, and password reset functionalities
for security vulnerabilities.
- Data Privacy: Verify that user data is securely stored and transmitted
(encryption).
4. Performance Testing:
- Load Testing:Assess how the system performs under expected and peak loads
of users and transactions.
- Response Time: Measure the time it takes for different operations to complete.
5. Compatibility Testing:
- Browser Compatibility: Test the system on various web browsers to ensure
consistent functionality.
-Device Compatibility: Verify that the system works well on different devices
(desktop, tablet, mobile).
6. Data Integrity Testing:
- Data Validation: Validate that data inputs are properly validated and prevent
erroneous entries.
- Data Accuracy: Check if the calculations and data displayed match the actual
input.
7. Integration Testing:
-API Integration: Test the integration with external APIs for transaction syncing.
- Component Interaction: Verify that different components of the system interact
seamlessly.
8. User Acceptance Testing (UAT):
-Real User Testing:Involve actual users to test the system and provide feedback.
- Usability and Satisfaction: Assess whether the system meets useexpectations
17
Conclusion
18