Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1. Introduction You are required to complete FOUR exercises related to software testing. 2. Deliverables Exercise 1 You have been asked to test a method
1. Introduction You are required to complete FOUR exercises related to software testing. 2. Deliverables Exercise 1 You have been asked to test a method called 'catWhiteSpace' in a 'Paragraph' object that, within the paragraph, replaces sequences of blank characters with a single blank character. Identify input partitions for this example and develop functional test cases for the 'catWhiteSpace' method (Hint: think of boundary conditions!). You can define your test cases as input/output pairs. For example, one test case could be: Input: The quick brown fox jumped over the lazy dog Expected output: The quick brown fox jumped over the lazy dog [Note: this exercise is adapted from: I. Sommerville. Software Engineering. Chapter 8, exercise 8.4]
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started