Ask a question from expert

Ask now

Program Design for Software Application Assignment

9 Pages3211 Words238 Views
   

Added on  2019-10-18

Program Design for Software Application Assignment

   Added on 2019-10-18

BookmarkShareRelated Documents
TaskUsing the attached Requirements Specification and Program Design for a software application (Weather Record Program), devise and execute appropriate system tests for the application, and report on the outcome of your tests.Explain why you have selected the test case derivation technique(s) that you used to derive your system tests. Critically review your approach to testing this application.The application will be available for testing immediately after the deadline for submitting Part A.DeliverablesPart A (Test Plan)Statement of which test case generation technique(s) were used, with your justification for their selection. (800 words maximum excluding references. State the word count at the end of the statement.)List of test cases for the application, showing which test case generation technique was used to obtain each test case.Part B (Test Report)Actual test data for each test.Expected outcome for each test.Actual outcome of each test.Records of any defects in the software application identified during testing.Critical review of your approach to testing the application. (400 words maximum, excluding references. State the word count at the end of the review.)Note: Although every effort has been made to ensure the quality of the attached requirements and detailed design for the Weather Record Program, there is no guarantee that these are error-free!Marking SchemePart AJustification for selection of test case generation technique(s). Logical selection of appropriate test case generation technique(s), with good justification for choice. (20 marks)Test cases. Clear, comprehensive set of test cases, minimising duplication of tests; sufficiently clear for test data to be derived easily and for tests to be set up by another tester. Effective use is made of the chosen test case generation technique(s). (30 marks)Part BRecords of testing. Test data and outcomes clearly linked to test cases. Appropriate choice of test data. Tests can be repeated easily where appropriate. (15 marks)Defect recording. Effectiveness of actual tests in detecting defects. Effective reporting of any defects detected. (25 marks)Critique of your approach to testing. Awareness of the strengths and weaknesses of the way you tackled both parts of this assignment. (10 marks)Template Version 1
Program Design for Software Application Assignment_1
To achieve a First Class Mark:Part A. The Test Cases are fully appropriate to the application and are highly likely to reveal faults in the software application. Test coverage is demonstrably high. Almost every Test Case is clearly specified and its purpose is clear. There are no unnecessary duplicate tests. The selection of test case generation techniques is well justified, with reference to supporting evidence. Each Test Case has clearly been derived from a chosen test case generation technique.Part B. Almost all the defects in the software application have been detected, with no false positives reported. Each defect is reported clearly. Test Records are comprehensive, and there is clear traceability between Test Cases, Test Records and Defect Reports. Tests can easily be repeated. Test data are appropriate to each Test Case. Insight is shown when critically reviewing the approach to testing, drawing on definitive sources where appropriate.Weather Record ProgramREQUIREMENTS SPECIFICATIONThe input data, from a weather monitoring station, is to be read from a file weather.txt in the local directory. The file format is specified below. You can assume that all weather.txt files have already been validated and that the program will never be run with weather.txt files that do not conform to the format specified below.The program is required to:a) Calculate summary data and write this to a summary.txt file. The summary.txt file format is specifiedbelow.b) Translate the daily weather data into diary format, and write this to a diary.txt file. The diary.txtfile format is specified below.If the weather.txt file cannot be opened, then the program is required to terminate with an appropriate error message.FILE FORMATSThese are specified in extended BNF notation.weather.txtweather readings::= header line, newline, 0{day readings}20;header line::= day number of first reading, space, pressure on previous day;day number of first reading::= "1" | "2" | .. | "366";;::= (* Day number, within this year, of the first set of day readings *);pressure on previous day::= pressure;day readingsTemplate Version 1
Program Design for Software Application Assignment_2
::= max temp, min temp, space, pressure, space,cloud cover, rainfall, space,wind direction, wind speed, newline;max temp::= temp;::= (*Maximum temperature during the day *);min temp::= temp;::= (*Minimum temperature during the day *);temp::= digit, digit;::= (* Temperature values are in degrees celsius. If the temperature is below zero, 50 is added to the absolute value of the temperature: for example, -8 is recorded as 58. *);pressure::= digit, digit, digit;::= (* Atmospheric pressure to nearest tenth of a millibar (mb), omitting the hundreds.The actual pressure is derived from the following algorithm. Let the pressure digits be abc. If abc>550then actual pressure is 9ab.c else actual pressure is 10ab.c. Atmospheric pressure over the UK is normally in the range 960 mb to 1050 mb, so a value of 119 implies an actual pressure of 1011.9mb and a value of 916 implies 991.6mb *);cloud cover::= digit;::= (* Measured in "oktas" - eights of sky covered. Values are in range 0-9, where for example 0 means cloudless sky, 3 means cloud cover over 3/8 of sky, 8 means total cloud cover, 9 means unable to determine cloud cover, usually due to dense fog *);rainfall::= digit, digit;::= (* Total rainfall that day, in millimeters *);wind direction::= "00" | "01" | "02" | .. | "35";::= (* The direction that the wind is coming from, measured in units of 10 degrees clockwise from North. So a wind direction of 09 means 90 degrees clockwise from North. *);wind speed::= digit, digit;::= (* Wind speed in miles per hour. *);digit::= "0" | "1" | .. | "9";space::= "";newline::= (* Line terminator in file *);summary.txtsummary data::= no readings line | (header line, newline, temperature lines, newline,rainfall lines, newline, wind line, newline);no readings line::= “No readings in file”, newline;header line::= "Summary data for days ", first day, " to ", last day, newline;first day::= day number;Template Version 1
Program Design for Software Application Assignment_3

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
Doctoral Studentship Proposal.
|2
|413
|365

Ethics Disclaimer: Research
|5
|2017
|398

Challenges to Privacy in Public Services Card IT System
|19
|3612
|111

Your Own Critique: Quantitative Nursing Research Part II
|5
|1408
|18

Analytical Strategy | Assessment Portfolio
|23
|5551
|180

Advanced Embedded Systems: Assignment
|16
|2836
|659