Skip to content

Commit

Permalink
apply new dialog file naming convention to tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisveilleux committed May 12, 2021
1 parent bb5ab99 commit 04aca83
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 20 deletions.
6 changes: 3 additions & 3 deletions test/behave/current-temperature-local.feature
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Feature: Mycroft Weather Skill current local weather
Scenario Outline: What is the temperature today
Given an english speaking user
When the user says "<what is the temperature today>"
Then "mycroft-weather" should reply with dialog from "current.temperature.local.dialog"
Then "mycroft-weather" should reply with dialog from "current-temperature-local.dialog"

Examples: What is the temperature today
| what is the temperature today |
Expand All @@ -19,7 +19,7 @@ Feature: Mycroft Weather Skill current local weather
Scenario Outline: What is the high temperature today
Given an english speaking user
When the user says "<what is the high temperature today>"
Then "mycroft-weather" should reply with dialog from "current.temperature.high.local.dialog"
Then "mycroft-weather" should reply with dialog from "current-temperature-high-local.dialog"

Examples: What is the high temperature today
| what is the high temperature today |
Expand All @@ -35,7 +35,7 @@ Feature: Mycroft Weather Skill current local weather
Scenario Outline: What is the low temperature today
Given an english speaking user
When the user says "<what is the low temperature today>"
Then "mycroft-weather" should reply with dialog from "current.temperature.low.local.dialog"
Then "mycroft-weather" should reply with dialog from "current-temperature-low-local.dialog"

Examples: What is the low temperature today
| what is the low temperature today |
Expand Down
6 changes: 3 additions & 3 deletions test/behave/current-temperature-location.feature
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Feature: Mycroft Weather Skill current temperature at specified location
Scenario Outline: User asks for the temperature today in a location
Given an english speaking user
When the user says "<what is the temperature today in location>"
Then "mycroft-weather" should reply with dialog from "current.temperature.location.dialog"
Then "mycroft-weather" should reply with dialog from "current-temperature-location.dialog"

Examples: what is the temperature today in location
| what is the temperature today in location |
Expand All @@ -18,7 +18,7 @@ Feature: Mycroft Weather Skill current temperature at specified location
Scenario Outline: User asks for the high temperature today in a location
Given an english speaking user
When the user says "<what is the high temperature today in location>"
Then "mycroft-weather" should reply with dialog from "current.temperature.high.location.dialog"
Then "mycroft-weather" should reply with dialog from "current-temperature-high-location.dialog"

Examples: what is the high temperature today in location
| what is the high temperature today in location |
Expand All @@ -34,7 +34,7 @@ Feature: Mycroft Weather Skill current temperature at specified location
Scenario Outline: User asks for the low temperature in a location
Given an english speaking user
When the user says "<what is the low temperature today in location>"
Then "mycroft-weather" should reply with dialog from "current.temperature.low.location.dialog"
Then "mycroft-weather" should reply with dialog from "current-temperature-low-location.dialog"

Examples: low temperature today in location
| what is the low temperature today in location |
Expand Down
4 changes: 2 additions & 2 deletions test/behave/current-weather-local.feature
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Feature: Mycroft Weather Skill local current weather conditions
Scenario Outline: What is the current local weather
Given an english speaking user
When the user says "<current local weather>"
Then "mycroft-weather" should reply with dialog from "current.weather.local.dialog"
Then "mycroft-weather" should reply with dialog from "current-weather-local.dialog"

Examples: What is the current local weather
| current local weather |
Expand Down Expand Up @@ -33,7 +33,7 @@ Feature: Mycroft Weather Skill local current weather conditions
Scenario Outline: Current local weather matches date/time relative day intent
Given an english speaking user
When the user says "<current local weather>"
Then "mycroft-weather" should reply with dialog from "current.weather.local.dialog"
Then "mycroft-weather" should reply with dialog from "current-weather-local.dialog"

Examples: What is the current local weather
| current local weather |
Expand Down
6 changes: 3 additions & 3 deletions test/behave/current-weather-location.feature
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Feature: Mycroft Weather Skill current weather at a specified location
Scenario Outline: User asks for the current weather in a location
Given an english speaking user
When the user says "<what is the current weather in location>"
Then "mycroft-weather" should reply with dialog from "current.weather.location.dialog"
Then "mycroft-weather" should reply with dialog from "current-weather-location.dialog"

Examples: what is the current local weather in a location
| what is the current weather in location |
Expand All @@ -23,7 +23,7 @@ Feature: Mycroft Weather Skill current weather at a specified location
Scenario Outline: FAILING User asks for the current weather in a location
Given an english speaking user
When the user says "<what is the current weather in location>"
Then "mycroft-weather" should reply with dialog from "current.weather.location.dialog"
Then "mycroft-weather" should reply with dialog from "current-weather-location.dialog"

Examples: what is the current local weather in a location
| what is the current weather in location |
Expand All @@ -34,7 +34,7 @@ Feature: Mycroft Weather Skill current weather at a specified location
Scenario Outline: User asks for the current weather in an unknown location
Given an english speaking user
When the user says "<what is the current weather in location>"
Then "mycroft-weather" should reply with dialog from "location.not.found.dialog"
Then "mycroft-weather" should reply with dialog from "location-not-found.dialog"

Examples: what is the current local weather in a location
| what is the current weather in location |
Expand Down
8 changes: 4 additions & 4 deletions test/behave/daily-temperature-local.feature
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Feature: Mycroft Weather Skill local forecasted temperatures
Scenario Outline: What is the temperature for tomorrow
Given an english speaking user
When the user says "<what is the temperature tomorrow>"
Then "mycroft-weather" should reply with dialog from "daily.temperature.local.dialog"
Then "mycroft-weather" should reply with dialog from "daily-temperature-local.dialog"

Examples: what is the temperature for tomorrow
| what is the temperature tomorrow |
Expand All @@ -15,7 +15,7 @@ Feature: Mycroft Weather Skill local forecasted temperatures
Scenario Outline: Failing what is the temperature for tomorrow
Given an english speaking user
When the user says "<what is the temperature tomorrow>"
Then "mycroft-weather" should reply with dialog from "daily.temperature.local.dialog"
Then "mycroft-weather" should reply with dialog from "daily-temperature-local.dialog"

Examples: what is the temperature for tomorrow
| what is the temperature tomorrow |
Expand All @@ -25,7 +25,7 @@ Feature: Mycroft Weather Skill local forecasted temperatures
Scenario Outline: what is the high temperature for tomorrow
Given an english speaking user
When the user says "<what is the high temperature tomorrow>"
Then "mycroft-weather" should reply with dialog from "daily.temperature.high.local.dialog"
Then "mycroft-weather" should reply with dialog from "daily-temperature-high-local.dialog"

Examples: what is the high temperature for tomorrow
| what is the high temperature tomorrow |
Expand All @@ -40,7 +40,7 @@ Feature: Mycroft Weather Skill local forecasted temperatures
Scenario Outline: what is the low temperature for tomorrow
Given an english speaking user
When the user says "<what is the low temperature tomorrow>"
Then "mycroft-weather" should reply with dialog from "daily.temperature.low.local.dialog"
Then "mycroft-weather" should reply with dialog from "daily-temperature-low-local.dialog"

Examples: what is the low temperature for tomorrow
| what is the low temperature tomorrow |
Expand Down
4 changes: 2 additions & 2 deletions test/behave/daily-weather-local.feature
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Feature: Mycroft Weather Skill local daily forecasts
Scenario Outline: what is the forecast for tomorrow
Given an english speaking user
When the user says "<what is the forecast for tomorrow>"
Then "mycroft-weather" should reply with dialog from "daily.weather.local.dialog"
Then "mycroft-weather" should reply with dialog from "daily-weather-local.dialog"

Examples: What is the forecast for tomorrow
| what is the forecast for tomorrow |
Expand All @@ -15,7 +15,7 @@ Feature: Mycroft Weather Skill local daily forecasts
Scenario Outline: what is the forecast for a future date
Given an english speaking user
When the user says "<what is the forecast for a future date>"
Then "mycroft-weather" should reply with dialog from "daily.weather.local.dialog"
Then "mycroft-weather" should reply with dialog from "daily-weather-local.dialog"

Examples: what is the forecast for a future date
| what is the forecast for a future date |
Expand Down
2 changes: 1 addition & 1 deletion test/behave/daily-weather-location.feature
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Feature: Mycroft Weather Skill daily forecast for a specified location.
Scenario Outline: User asks for the forecast on a future date in a location
Given an english speaking user
When the user says "<what is the forecast on a future date in a location>"
Then "mycroft-weather" should reply with dialog from "daily.weather.location.dialog"
Then "mycroft-weather" should reply with dialog from "daily-weather-location.dialog"

Examples: what is the forecast for a future date in location
| what is the forecast on a future date in a location |
Expand Down
2 changes: 1 addition & 1 deletion test/behave/hourly-weather-local.feature
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Feature: Mycroft Weather Skill local hourly forecasts
Scenario Outline: what is the weather later
Given an english speaking user
When the user says "<what is the weather later>"
Then "mycroft-weather" should reply with dialog from "hourly.weather.local.dialog"
Then "mycroft-weather" should reply with dialog from "hourly-weather-local.dialog"

Examples: What is the weather later
| what is the weather later |
Expand Down
2 changes: 1 addition & 1 deletion test/behave/hourly-weather-location.feature
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Feature: Mycroft Weather Skill hourly forecasts at a specified location
Scenario Outline: User asks what the weather is later at a location
Given an english speaking user
When the user says "<what is the weather later>"
Then "mycroft-weather" should reply with dialog from "hourly.weather.location.dialog"
Then "mycroft-weather" should reply with dialog from "hourly-weather-location.dialog"

Examples: What is the weather later
| what is the weather later |
Expand Down

0 comments on commit 04aca83

Please sign in to comment.