Program Design for Software Application Assignment

Added on - 18 Oct 2019

  • 9

    Pages

  • 3211

    Words

  • 140

    Views

  • 0

    Downloads

Trusted by +2 million users,
assist thousands of students everyday
Showing pages 1 to 3 of 9 pages
TaskUsing the attached Requirements Specification and Program Design for a software application (Weather RecordProgram), 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. Criticallyreview 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. (800words 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 testcase.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 theword 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 theWeather Record Program, there isnoguarantee that these are error-free!Marking SchemePart AJustification for selection of test case generation technique(s).Logical selection of appropriate test casegeneration 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 tobe derived easily and for tests to be set up by another tester. Effective use is made of the chosen test casegeneration technique(s).(30 marks)Part BRecords of testing.Test data and outcomes clearly linked to test cases. Appropriate choice of test data. Testscan 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 bothparts of this assignment.(10 marks)Template Version 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 softwareapplication. 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, withreference to supporting evidence. Each Test Case has clearly been derived from a chosen test case generationtechnique.Part B.Almost all the defects in the software application have been detected, with no false positives reported. Eachdefect is reported clearly. Test Records are comprehensive, and there is clear traceability between Test Cases, TestRecords and Defect Reports. Tests can easily be repeated. Test data are appropriate to each Test Case. Insight isshown 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 fileweather.txtin the localdirectory. The file format is specified below. You can assume that allweather.txtfiles have already beenvalidated and that the program will never be run withweather.txtfiles that do not conform to the formatspecified below.The program is required to:a) Calculate summary data and write this to asummary.txtfile. Thesummary.txtfile format is specifiedbelow.b) Translate the daily weather data into diary format, and write this to adiary.txtfile. Thediary.txtfile format is specified below.If theweather.txtfile cannot be opened, then the program is required to terminate with an appropriateerror 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
::= 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 theabsolute 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 actualpressure is derived from the following algorithm. Let the pressure digits beabc. Ifabc>550then actual pressure is9ab.celse actual pressure is10ab.c. Atmospheric pressure over theUK is normally in the range 960 mb to 1050 mb, so a value of 119 implies an actual pressure of1011.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 meanscloudless sky, 3 means cloud cover over 3/8 of sky, 8 means total cloud cover, 9 means unableto 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 comingfrom, measured in units of 10 degrees clockwise fromNorth. 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
desklib-logo
You’re reading a preview
Preview Documents

To View Complete Document

Become a Desklib Library Member.
Subscribe to our plans

Download This Document