Question

In: Computer Science

Write the test cases for searching flights in a flight reservation system. What testing method can...

Write the test cases for searching flights in a flight reservation system. What testing method can be used?

Solutions

Expert Solution

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. ;-)


Related Solutions

What kind of testing methods can be used for an airline reservation management system and justify...
What kind of testing methods can be used for an airline reservation management system and justify the reasons for selecting the testing methods in detail.
What is a Test Case? Write the Test cases for a 4X4 queen’s problem.
What is a Test Case? Write the Test cases for a 4X4 queen’s problem.
Triangle Testing You are about to test the implementations of triangleType method with JUnit Testing. To...
Triangle Testing You are about to test the implementations of triangleType method with JUnit Testing. To test this Triangle class, you write a JUnit test class named TriangleTest.java. This test class contains multiple test cases in the format of methods. The test runner executes TriangleTest to generate a JUnit test report. In this project, you do not need to write the code for this Triangle class. Instead, you will write JUnit test cases to make sure that the implementation of...
Analyze the cases below via the Open Market Economy Analysis method: -Case of a Capital Flight...
Analyze the cases below via the Open Market Economy Analysis method: -Case of a Capital Flight from Turkey to USA, 1) From Turkey's economy's point of view, 2) From USA's economy's point of view.
1. Practice searching 2. Continue learning the significance of special cases! 3. Learning how to write...
1. Practice searching 2. Continue learning the significance of special cases! 3. Learning how to write test to check your implementation Things you must do: 1. There are many details in this lab. Make sure you read the whole thing carefully before writing any code and closely follow this instruction. 2. Always remember Java is case sensitive. 3. Your file names, class names, and package name must match exactly as they are specified here. Things you must not do: 1....
EMERGENCY!! Analyze the cases below via the open market economy analysis method: -Case of capital flight...
EMERGENCY!! Analyze the cases below via the open market economy analysis method: -Case of capital flight from Turkey to USA -From Turkey's economy's point of view -From USA economy's point of view
bus reservation system code using c language in this system we can add seat and remove....
bus reservation system code using c language in this system we can add seat and remove. this code will be in c language using 2 d aray
Java Searching and Sorting, please I need the Code and the Output. Write a method, remove,...
Java Searching and Sorting, please I need the Code and the Output. Write a method, remove, that takes three parameters: an array of integers, the length of the array, and an integer, say, removeItem. The method should find and delete the first occurrence of removeItem in the array. If the value does not exist or the array is empty, output an appropriate message. (After deleting an element, the number of elements in the array is reduced by 1.) Assume that...
What are impurities and their testing method of metoclopramide ?
What are impurities and their testing method of metoclopramide ?
Describe in detail how test cases are derived from behavior models to facilitate interclass testing in...
Describe in detail how test cases are derived from behavior models to facilitate interclass testing in software engineering.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT