Nnoemis / Test1

0 stars 0 forks source link

5. Weather Forecast Bug #5

Open Nnoemis opened 1 year ago

Nnoemis commented 1 year ago

Your software company works on a project, which displays the weather forecast for the next few days. Developers take the weather forecast from external source, where the forecast data is given in computer-readable format. The received weather forecast data holds weather information for the next 5 days. For each day the following data is obtained: weather icon (sunny / cloudy / light rain / heavy rain / snow / fog / etc.), the min and max temperature, precipitation percentage and wind strength.

During the testing you, as a QA engineer, find out that the temperatures come from the external source in degrees Fahrenheit, but are displayed in degrees Celsius without a conversion. This obviously produces wrong results, such as extremely hot temperatures (like 78 °C). Describe the problem in detail in the table below:

Mistake | The developer made the following mistake: -- | -- Bug (location) | The bug in the code is in the module / function, responsible for: … Failure (symptoms) | When the buggy code goes in production, it fails as follows: …

 

Mistake | The developer made the following mistake: He/She didn`t convert the degrees from Fahrenheit to Celsius. -- | -- Bug (location) | The bug in the code is in the module / function, responsible for: temperature. Failure (symptoms) | When the buggy code goes in production, it fails as follows: it shows extremely hot temperatures (like 78 °C)