Design to Development
Use a Behavior Driven approach and write tests in a natural language style before any development begins. This improves communication within your team, and sets your Skill up for success.
Creating Behave Test files based on your Design
Feature: mycroft-moon-phase
Scenario Outline: The user asks for the current moon phase
Given an english speaking user
When the user asks for "<the current moon phase>"
Then "skill-moon-phase" should reply with "Today’s moon is Waning Crescent with 55% illumination"
Examples:
| the current moon phase |
| what’s the moon phase |
| what's the phase of the moon |
| what is the moon phase today |Last updated
Was this helpful?