Skip to content

Get current temperature from a station #10

@Noordsestern

Description

@Noordsestern

Story

Given an address
When current temperature is requests
Then current temperature of the nearest station is retrieved

Example Test Case

*** Settings ***
Library    DwdWeatherLibrary

*** Test Cases ***
Test 'Get current temperature from station' for address
    [Template]    Execute 'Get current temperature from station'
    33332 Gütersloh
    Aachen
    Berlin

*** Keywords ***
Execute 'Get current temperature from station'
    [Arguments]    ${address}
    ${station}    Get station closest to address    ${address}
    ${current_temperature}    Get current temperature from station    ${station}
    Should Not Be Empty    ${current_temperature}

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestessentialIssue essential to this library

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions