In: Computer Science
Write the test cases for searching flights in a flight reservation system. What testing method can be used?
Following test cases may be checked:
1. For round trip booking, the return date should be greater than onward booking date.
2. The maximum limit of seats that a user can book, selecting more seats than permitted results in error message.
3. All the different types of payment methods work fine.
4. The user can also cancel the tickets booked by entering the mandatory details and the amount after deducting the cancellation fee gets refunded back to user.
5. After cancellation, available seats are increased by the same amount.
Following testing method can be used:
UNIT TESTING: Unit Testing is testing changes made in an existing or a new program.
SEQUENTIAL OR SERIES TESTING: Sequential or Series Testing is checking the logic of one or more programs in the candidate system, where the output of one program will affect the processing done by another Program. SYSTEM TESTING: System Testing is executing a program to check logic changes made in it and with the intention of finding errors making the program fail.
ACCEPTANCE TESTING: Acceptance Testing is running the system with live data by the actual user of the system. Testing is vital to the success of the system. System testing makes a logical assumption that if all the parts of the system are correct, the goal will be successfully achieved. In adequate testing or no-testing leads to errors that may not appear until months later.
If you like the answer, please consider upvoting. ;-)