Vielen Dank für deinen Besuch. Diese Seite ist nur in Englisch verfügbar.

Baby Activity Skill Testing Guide

Before you submit your baby activity skill for certification, you should test your skill. You should perform functional testing to make sure your skill works as you intend. Use the guidelines in this topic to test your skill.

Verify requirements

Before you submit your skill for certification, verify that it satisfies the following requirements:

  • Your skill must be intended for other Alexa users and not a test of the submission process. Submit your skill for certification only when you intend to publish it live for all Alexa users.
  • The title of your skill must be free of typos and grammatical errors.
  • The title of your skill must be relevant to the core functionality of the skill, and not be misleading to the customer.
  • The description for your skill must provide a URL to your app or website that your skill sends data to.
  • The description for your skill must explain the core functionality of the skill to the user. All information in the description must be accurate.
  • The icon for your skill must not be cropped or blank.
  • All content in the metadata for your skill including URLs, TTS responses, the account linking page, notifications, and audio and visual content, must be presented in the language selected by the customer, if it is supported by your skill.
  • The first example phrase includes the wake word.
  • The example phrases do not contain any additional instructions, emoticons, symbols, grammar errors, or typos. You can use the % symbol to represent percent.
  • All customer-facing example phrases must be in the same format as the sample utterances for the skill’s API. For more information, see the section perform functional testing of directives.
  • Your skill must provide at least one utterance for each API that it supports, in the example phrases or in the skill description. For more information, see the section perform functional testing of directives.
  • Your skill must not contain any references to the API in locales where the API is not yet supported. Currently, baby activity skills are supported only in the United States.
  • You must provide a valid set of credentials in the testing instructions. The testers use the credentials to complete the account linking process and test your skill.
  • The test account that you provide must contain at least one profile, or allow the tester to create a new profile.
  • The test account that you provide must allow the tester to edit the profile.
  • When a user enables your skill, you must send a profile report.
  • When a user updates their profile, you must send a profile report.

Perform functional testing of directives

Perform functional testing of each directive that you support. When you use the Alexa.Health interfaces, the voice interaction model is already built for you. Use the pre-built voice model to test each directive that you support.

Alexa.Health.Weight directives

  • Weight.Add
    • Track weight of {value} {weight unit}.
      • Alexa, track weight of one hundred seventy pounds.
    • Track weight of {value}.
      • Alexa, track weight of one hundred seventy.
  • Weight.Get
    • Alexa, what was the baby's last weight?
    • Alexa, what is the baby’s weight?
    • Alexa, how much does the baby weigh?
    • How much did {Name} weigh on {date}?
      • Alexa, how much did Jane weigh on May thirtieth?

Alexa.Health.Sleep directives

  • Sleep.Add
    • Alexa, record sleep.
    • Record sleep for {duration}.
      • Alexa, record sleep for thirty minutes.
    • Record sleep for {duration} at {time}.
      • Alexa, record sleep for one hour at five pm.
    • Record sleep for {duration} starting at {time}.
      • Alexa, record sleep for three hours starting at two pm.
    • Record sleep for my baby from {time} to {time} today.
      • Alexa, record sleep for my baby from three pm to five-thirty pm today.
    • Record sleep at {time}.
      • Alexa, record sleep at ten am.
  • Sleep.Get
    • Alexa, when did my baby start sleeping?
    • How long did my baby sleep {date}?
      • Alexa, how long did my baby sleep yesterday?
    • How long has my baby sleep {date}?
      • Alexa, how long has my baby sleep yesterday?
    • How many hours has {name} slept for {date}?
      • Alexa, how many hours has Jane slept for today?
    • How much sleep has {name} gotten today?
      • Alexa, how much sleep has Jane gotten today?
  • Sleep Timer Directives
    • Alexa, start sleep tracking.
    • Alexa, pause sleep tracking.
    • Alexa, continue sleep tracking.
    • Alexa, stop sleep tracking.

Alexa.Health.DiaperChange directives

  • DiaperChange.Add
    • Alexa, log a pee.
    • Alexa, log a poop.
    • Alexa, log a poopy diaper.
    • Alexa, log pee and poop.
    • Record a {diaper type} diaper.
      • Alexa, record a mixed diaper.
    • Record a {diaper type} diaper at {time}.
      • Alexa, record a dirty diaper at three pm.
      • Alexa, record a wet diaper at five.
    • Record a {diaper type} diaper at {time} {date}.
      • Alexa, record a wet diaper at nine pm yesterday.
  • DiaperChange.Get
    • Alexa, when was the last diaper change?
    • Alexa, when was my baby's last diaper change?
    • Alexa, when was the diaper changed last?
    • Alexa, how long ago was the last diaper change?
    • Alexa, show me how long ago I changed the diaper last?
    • Alexa, tell me about the last diaper change.
    • Alexa, what were the contents of the last diaper?
    • Alexa, what was the last diaper changed?
    • Alexa, was the last diaper wet or dirty?
    • Alexa, how many diaper changes yesterday?
    • Alexa, how many diapers were there yesterday?
    • Alexa, display how many diaper changes I have logged today?
    • Alexa, how many diaper changes did Jane have on Thursday?

Alexa.Health.InfantFeeding directives

  • InfantFeeding.Add
    • Alexa, log a feeding.
    • Alexa, log a bottle feeding.
    • Alexa, log a formula feeding.
    • Alexa, log a nursing.
    • Log a {feeding type} feeding of {value} {unit}.
      • Alexa, log a breast milk feeding of three ounces.
    • Log a {feeding type} feeding of {value} {unit} at {time}.
      • Alexa, log a formula feeding of three ounces at two pm.
    • Log a nursing on {side}.
      • Alexa, log a nursing on left.
    • Record a nursing from the {side} side for {duration}.
      • Alexa, record a nursing from the left for ten minutes.
    • Log a nursing on {side} at {time}.
      • Alexa, log a nursing on left at three pm yesterday.
  • InfantFeeding.Get
    • Alexa, tell me about my baby's last bottle feeding.
    • Alexa, when was the last feeding?
    • Alexa, when was my last nursing?
    • Alexa, how long have I nursed the baby today?
    • Alexa, how long ago was the last feeding?
    • Alexa, how much has my baby eaten today?
    • Alexa, how much did my baby eat in his last bottle?
    • Alexa, how much did my baby eat in her last bottle?
    • Alexa, how long ago was my last nursing?
    • Alexa, how long was my last nursing?
    • Alexa, what side was my last nursing from?
    • Alexa, which side did I nurse from last?
    • What were the contents of {name}'s last bottle?
      • Alexa, what were the contents of Jane's last bottle?
    • What did I feed {name} last?
      • Alexa, what did I feed Jane last?
    • How long ago was the last feeding for {name}?
      • Alexa, how long ago was the last feeding for Jane?
    • Did I feed {name} from the {side}?
      • Alexa, did I feed Jane from the left?
  • InfantFeeding Timer Directives
    • Alexa, start bottle feeding.
    • Alexa, pause bottle feeding.
    • Alexa, stop bottle feeding.
    • Alexa, start formula feed.
    • Alexa, start nursing on the left.
    • Alexa, start nursing on the right.
    • Alexa, start breast milk bottle feed.
    • Alexa, switch to the left breast.
    • Alexa, switch to the right breast.
    • Alexa, pause nursing.
    • Alexa, stop nursing.

Additional tests

In addition to the tests described in the preceding sections, you should perform some of the same tests that are applicable to custom skills. Following are links to functional tests for custom skills that are also relevant to baby activity skills.

Policy guidelines

Make sure your skill's content meets Amazon's policy guidelines. See Policy Testing.

Security requirements

Test your skill code (Lambda function) to make sure it meets Amazon's security requirements. See Security Testing.

Skill description and detail page

Check the description that teaches users how to use your skill. See Skill Description and Detail Page in the functional testing guide for custom skills.

Account linking

Make sure you can successfully account link your skill. See Account Linking in the functional testing guide for custom skills.

Duplicate of samples or templates

Make sure your skill is not an exact duplicate of any of the Amazon-provided samples or templates. See Duplicates of Samples or Templates in the functional testing guide for custom skills.