Software Development and Engineering Blog


HW28: Chapter 25

Sam Word | 21 Nov 2017

HW27: Chapter 24

Sam Word | 16 Nov 2017

HW19: Team Progress II

Sam Word | 14 Nov 2017

HW25: Chapter 23

Sam Word | 09 Nov 2017

HW24: Chapter 22

Sam Word | 06 Nov 2017

HW22: Chapter 21

Sam Word | 02 Nov 2017

HW19: Team Progress I

Sam Word | 31 Oct 2017

HW21: Chapter 20

Sam Word | 26 Oct 2017

HW20: Chapter 19

Sam Word | 24 Oct 2017

HW18: Chapter 18

Sam Word | 18 Oct 2017

HW17-B: Chapter 17

Sam Word | 11 Oct 2017

HW17-A: Chapter 16

Sam Word | 08 Oct 2017

HW16: Chapter 9

Sam Word | 05 Oct 2017

HW15: Chapter 15

Sam Word | 02 Oct 2017

HW14: Testing Reflections

Sam Word | 28 Sep 2017

HW13: Chapter 8

Sam Word | 28 Sep 2017

HW12: Mythical Man Month

Sam Word | 26 Sep 2017

HW11: Chapter 6

Sam Word | 21 Sep 2017

HW10: Chapter 5

Sam Word | 13 Sep 2017

HW9: Reflections

Sam Word | 12 Sep 2017

HW8: Chapter 2

Sam Word | 12 Sep 2017

HW7: Reflections

Sam Word | 07 Sep 2017

HW6: Chapter 4

Sam Word | 07 Sep 2017

HW5: Reflections

Sam Word | 05 Sep 2017

HW4: Chapters 11 & 12

Sam Word | 30 Aug 2017

HW3: Chapter 10

Sam Word | 28 Aug 2017

HW2: Responses

Sam Word | 27 Aug 2017

HW1: Chapter 1

Sam Word | 24 Aug 2017

HW0: Introduction

Sam Word | 23 Aug 2017

HW13: Chapter 8


28 Sep 2017

8.7

Write a scenario that could be used to help design tests for the wilderness weather station system.

Ashton uses the wilderness weather station system in the remote town of Fort Severn, ON, Canada to gather and report weather information. Every morning around 6am, Ashton requests a weather summary report.

When the local weather station system is able to connect to the remote data management system via satellite communications, the local weather station system notifies Ashton that her request for a report has successfully been sent. Once the report has been completely transmitted to Ashton’s local weather station system, the report is displayed.

Ashton knows that it often snows in northern Ontario, making it impossible to establish a stable connection with the satellite communication systems. If satellite communications are unavailable or interrupted due to poor weather conditions, the report is unable to be transmitted to Ashton’s local weather station system, and the system notifies her that it is unable to connect to the remote data management and archiving system. This isn’t a big deal to Ashton. She understands that the conditions in such a remote location can be harsh, and that her local weather station system will continue to establish a connection to the satellite communications systems for 24 hours before giving up. Once it is able to establish a connection and receive the weather summary report, Ashton is notified.

8.10

A common approach to system testing is to test the system until the testing budget is exhausted and then deliver the system to the customers. Discuss the ethics of this approach for systems that are delivered to external customers.

Depending on the size of the testing budget, the amount of time dedicated to testing the software, and how the developers approached testing the system, this approach could work out nicely or end disastrously. Since this approach can lead to a wide range of results, it’s not the best approach to systems testing, and is a generally unethical approach. This is especially true in safety-critical systems such as airplane navigation software or human vitals monitoring systems used in hospitals.

A more ethical approach to system testing is to devote at least half of the estimated schedule to testing, as noted by Fred Brooks in the Mythical Man Month. Budgets can quickly be exhausted if numerous flaws are detected in the system during testing, which is an important aspect of testing a system. If it happens that a particular system’s testing budget is quickly used up but not every use case was accounted for in tests, it’s likely that there are more unknown flaws delivered to external customers than there would be if all use cases were tested.