Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Database Management Systems

Authors: Patricia Ward, George A Dafoulas

1st Edition

1844804526, 978-1844804528

More Books

Students also viewed these Databases questions

Question

10. What is meant by a feed rate?

Answered: 1 week ago