Upload
kobe-thuy
View
3
Download
2
Embed Size (px)
DESCRIPTION
lol
Citation preview
ISYS2092 Software Testing
Assignment 1 (15%)
Learning Objectives This assignment aims to provide students with the opportunity to work in a team to identify relevant testing types for a project and define test cases based on the theories and techniques learned in the course.
Learning Objective RMIT Graduate Attribute AQF*
Working in team Work ready A3, S4
Working to strict deadlines Work ready A1
Apply relevant testing theories and techniques Work ready S1, S2, S3, A2
Present knowledge and ideas in a clear and coherent manner
Work ready S4
Australian Qualifications Framework (AQF): http://goo.gl/x5UYKR (page 48) Deadline and Submission Deadline: 11.59 pm Sunday of week 6 (Aug 2, 2015) Before the deadline, submit your answers to the below questions as a PDF file to Blackboard. You only have to make one submission for your team. Please clearly write down the names of your team members in the submitted file. Late submission penalty is applied according to the policy of School of CS & IT. Question 1: Theory (20 marks)
a. What are the main benefits and drawbacks of the V-model of software testing? (5 marks)
b. To what extent does testing provide support for the analysis or measurement of the
different dimensions of software quality (portability, reusability, interoperability,
maintainability, flexibility, testability, correctness, reliability, efficiency, integrity, usability)?
(5 marks)
c. One of the current hot topics in software engineering is test-driven software development
where the main idea is to use the results of a test planning phase as requirements for the
coding phase. What do you think about this kind of approach? What are its main benefits
and drawbacks? You can use the below articles or other relevant research articles to form
the basis of your answer. (5 marks)
D. Janzen, H. Saiedian: Test-Driven Development: Concepts, Taxonomy, and Future
Direction. Computer (IEEE) 38, 9 (September), 2005, 43-50.
J. Rasmusson: Introducing XP into Greenfield Projects: Lessons Learned. IEEE Software
20, 3 (May / June), 2003, 21-28.
d. Using the below article as a source to answer the question: what are the main difficulties in
software testing? (5 marks)
J. A. Whittaker: What Is Software Testing? And Why Is It So Hard? IEEE Software 17, 1
(January / February), 2000, 70-79.
For question c and d, please visit RMIT library to get help on how to obtain the above articles and
search for more relevant ones.
Question 2: Practice (40 marks)
a. A program reads an arbitrary number of temperatures (as integers) within the range -60C +60C and prints their mean value. Design the test cases for testing this program using the black-box strategy. (15 marks)
b. A program accepts a persons weight and height as inputs then calculates and prints the
persons body weight index. The weight is given in kilograms (as a real number, for instance: 68.2) and the height in meters (as a real number, for instance: 1.74). The body weight index equals weight divided by height squared: weight / (height * height). Design the test cases for testing this program using the black-box strategy. (25 marks)
Use the below table format to describe your test cases.
Test case
ID
Techniques Inputs Actions Expected outputs
Actual outputs