Question: You are to test a program called paraphrase that takes two file names as input: > ./paraphrase in.txt out.txt The program does the following: 1.

You are to test a program called paraphrase that takes two file names as input: > ./paraphrase in.txt out.txt The program does the following: 1. Reads a string in the file in.txt 2. Searches the out.txt file for the matching string 3. Displays all the lines that contain that string. Notes: The string is any sequence of characters. See Example-1 below. The search is case sensitive. See Example-2 below. Example-1: input.txt contains CS362 and out.txt contains Welcome To CS362 Software EngineeringI > ./paraphrase in.txt out.txt >Welcome To CS362 Software Engineering II Note: in this example, the line in the file out.txt containing the string CS362 was displayed as output. Example-2: input.txt contains cs362 and out.txt contains Welcome To CS362 > ./paraphrase in.txt out.txt Note: in this example, no output was displayed because paraphrase did not match cs362 with the line containing the string CS362. Deliverables 1. Describe how you would test paraphrase. Try to cover as many as different scenarios, including valid (good/positive), invalid (badegative), and boundary cases. (40 points) 2. Describe how you would check the correctness of the output. (10 points) 3. Describe how you would check if your tests are thorough. (10 points)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
